Skip to content
Kolorvia
#2a42a8

Color #2a42a8

A moderately saturated medium blue.

Conversions

HEX
#2a42a8
RGB
rgb(42, 66, 168)
HSL
hsl(228.6, 60%, 41.2%)
HSV / HSB
hsv(228.6, 75%, 65.9%)
CMYK
cmyk(75%, 60.7%, 0%, 34.1%)
LAB
lab(32.29, 27.64, -57.43)
LCH
lch(32.29, 63.74, 295.7)
OKLCH
oklch(42.7%, 0.166, 268.24)
HWB
hwb(228.6, 16.5%, 34.1%)

Harmony colors

Complementary

#a8902a

Analogous

#2a81a8
#2a42a8
#512aa8

Triadic

#2a42a8
#a82a42
#42a82a

Split-complementary

#2a42a8
#a8512a
#81a82a

Tetradic

#2a42a8
#902aa8
#a8902a
#42a82a

Square

#2a42a8
#a82a81
#a8902a
#2aa851

Shades

Color #2a42a8 mixed toward black.

#23378c
#1c2c70
#152154
#0e1638
#070b1c

Tints

Color #2a42a8 mixed toward white.

#3754cd
#5f76d7
#8798e1
#afbaeb
#d7ddf5

Tones

Color #2a42a8 mixed toward gray.

#35489e
#3f4f93
#4a5689
#545c7e
#5f6374

Accessibility

Aa White text on this color
8.6:1
Aa Black text on this color
2.44:1

White text reads better on this background (8.6:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#363697 · ΔE 4.8

Deuteranopia

#343393 · ΔE 5.6

Tritanopia

#2c8884 · ΔE 36.8

Achromatopsia

#4c4c4c · ΔE 26.3

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#2a42a8 (#2a42a8) is rgb(42, 66, 168) in RGB.

No, #2a42a8 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #2a42a8, 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.