Skip to content
Kolorvia
#2a304a

Color #2a304a

A muted dark blue.

Conversions

HEX
#2a304a
RGB
rgb(42, 48, 74)
HSL
hsl(228.8, 27.6%, 22.7%)
HSV / HSB
hsv(228.8, 43.2%, 29%)
CMYK
cmyk(43.2%, 35.1%, 0%, 71%)
LAB
lab(20.44, 5.17, -16.92)
LCH
lch(20.44, 17.69, 286.99)
OKLCH
oklch(31.6%, 0.0474, 273.51)
HWB
hwb(228.8, 16.5%, 71%)

Harmony colors

Complementary

#4a442a

Analogous

#2a404a
#2a304a
#342a4a

Triadic

#2a304a
#4a2a30
#304a2a

Split-complementary

#2a304a
#4a342a
#404a2a

Tetradic

#2a304a
#442a4a
#4a442a
#304a2a

Square

#2a304a
#4a2a40
#4a442a
#2a4a34

Shades

Color #2a304a mixed toward black.

#23283e
#1c2031
#151825
#0e1019
#07080c

Tints

Color #2a304a mixed toward white.

#424b74
#59669e
#818bb8
#abb2cf
#d5d8e7

Tones

Color #2a304a mixed toward gray.

#2d3247
#2f3345
#323542
#35373f
#37383d

Accessibility

Aa White text on this color
12.96:1
Aa Black text on this color
1.62:1

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

Under color vision deficiencies

Protanopia

#2d2d45 · ΔE 2.6

Deuteranopia

#2c2c43 · ΔE 2.8

Tritanopia

#2a403f · ΔE 18.5

Achromatopsia

#313131 · ΔE 13.1

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

Code

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

Related colors

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

Frequently asked questions

#2a304a (#2a304a) is rgb(42, 48, 74) in RGB.

No, #2a304a 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 #2a304a, 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.