Skip to content
Kolorvia
#1b2b52

Color #1b2b52

A moderately saturated dark blue.

Conversions

HEX
#1b2b52
RGB
rgb(27, 43, 82)
HSL
hsl(222.5, 50.5%, 21.4%)
HSV / HSB
hsv(222.5, 67.1%, 32.2%)
CMYK
cmyk(67.1%, 47.6%, 0%, 67.8%)
LAB
lab(18.23, 7.58, -25.88)
LCH
lch(18.23, 26.97, 286.32)
OKLCH
oklch(29.8%, 0.074, 265.35)
HWB
hwb(222.5, 10.6%, 67.8%)

Harmony colors

Complementary

#52421b

Analogous

#1b4752
#1b2b52
#261b52

Triadic

#1b2b52
#521b2b
#2b521b

Split-complementary

#1b2b52
#52261b
#47521b

Tetradic

#1b2b52
#421b52
#52421b
#2b521b

Square

#1b2b52
#521b47
#52421b
#1b5226

Shades

Color #1b2b52 mixed toward black.

#172444
#121d37
#0e1629
#090e1b
#05070e

Tints

Color #1b2b52 mixed toward white.

#2c4584
#3c60b7
#6886cd
#9aaede
#cdd7ee

Tones

Color #1b2b52 mixed toward gray.

#202d4e
#242f49
#293144
#2d3340
#32353b

Accessibility

Aa White text on this color
13.87:1
Aa Black text on this color
1.51:1

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

Under color vision deficiencies

Protanopia

#23234b · ΔE 4.8

Deuteranopia

#222149 · ΔE 5.3

Tritanopia

#1c4443 · ΔE 23.1

Achromatopsia

#2c2c2c · ΔE 17.2

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

Code

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

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

#1b2b52 (#1b2b52) is rgb(27, 43, 82) in RGB.

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