Skip to content
Kolorvia
#2a5fff

Color #2a5fff

A vivid, highly saturated medium blue.

Conversions

HEX
#2a5fff
RGB
rgb(42, 95, 255)
HSL
hsl(225.1, 100%, 58.2%)
HSV / HSB
hsv(225.1, 83.5%, 100%)
CMYK
cmyk(83.5%, 62.7%, 0%, 0%)
LAB
lab(46.83, 41.15, -83.73)
LCH
lch(46.83, 93.3, 296.17)
OKLCH
oklch(55.7%, 0.2436, 264.94)
HWB
hwb(225.1, 16.5%, 0%)

Harmony colors

Complementary

#ffca2a

Analogous

#2ac9ff
#2a5fff
#5f2aff

Triadic

#2a5fff
#ff2a5f
#5fff2a

Split-complementary

#2a5fff
#ff5f2a
#c9ff2a

Tetradic

#2a5fff
#ca2aff
#ffca2a
#5fff2a

Square

#2a5fff
#ff2ac9
#ffca2a
#2aff5f

Shades

Color #2a5fff mixed toward black.

#003df7
#0031c6
#002594
#001963
#000c31

Tints

Color #2a5fff mixed toward white.

#4d79ff
#7194ff
#94afff
#b8caff
#dbe4ff

Tones

Color #2a5fff mixed toward gray.

#3c68ed
#4d71db
#5f7aca
#7183b8
#838ba6

Accessibility

Aa White text on this color
5.02:1
Aa Black text on this color
4.18:1

White text reads better on this background (5.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#4747e5 · ΔE 8.1

Deuteranopia

#4440df · ΔE 10.1

Tritanopia

#2ecec8 · ΔE 45.6

Achromatopsia

#6f6f6f · ΔE 30.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #2a5fff;
Tailwind (arbitrary value)
bg-[#2a5fff]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#2a5fff (#2a5fff) is rgb(42, 95, 255) in RGB.

No, #2a5fff is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #2a5fff, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.