Skip to content
Kolorvia
#1b2a52

Color #1b2a52

A moderately saturated dark blue.

Conversions

HEX
#1b2a52
RGB
rgb(27, 42, 82)
HSL
hsl(223.6, 50.5%, 21.4%)
HSV / HSB
hsv(223.6, 67.1%, 32.2%)
CMYK
cmyk(67.1%, 48.8%, 0%, 67.8%)
LAB
lab(17.91, 8.31, -26.39)
LCH
lch(17.91, 27.67, 287.48)
OKLCH
oklch(29.5%, 0.0754, 266.43)
HWB
hwb(223.6, 10.6%, 67.8%)

Harmony colors

Complementary

#52431b

Analogous

#1b4652
#1b2a52
#281b52

Triadic

#1b2a52
#521b2a
#2a521b

Split-complementary

#1b2a52
#52281b
#46521b

Tetradic

#1b2a52
#431b52
#52431b
#2a521b

Square

#1b2a52
#521b46
#52431b
#1b5228

Shades

Color #1b2a52 mixed toward black.

#172344
#121c37
#0e1529
#090e1b
#05070e

Tints

Color #1b2a52 mixed toward white.

#2c4484
#3c5eb7
#6884cd
#9aadde
#cdd6ee

Tones

Color #1b2a52 mixed toward gray.

#202c4e
#242e49
#293044
#2d3240
#32343b

Accessibility

Aa White text on this color
14:1
Aa Black text on this color
1.5:1

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

Under color vision deficiencies

Protanopia

#22224b · ΔE 4.5

Deuteranopia

#212049 · ΔE 5

Tritanopia

#1c4442 · ΔE 23.8

Achromatopsia

#2c2c2c · ΔE 17.5

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

Code

CSS
background-color: #1b2a52;
Tailwind (arbitrary value)
bg-[#1b2a52]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#1b2a52 (#1b2a52) is rgb(27, 42, 82) in RGB.

No, #1b2a52 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 #1b2a52, 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.