#1B2174#1B2174
#1B2174 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.139 H 271.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2174 |
|---|---|
| RGB | rgb(27, 33, 116) |
| HSL | hsl(236, 62%, 28%) |
| HSV | hsv(236, 77%, 45%) |
| CMYK | cmyk(76.7%, 71.6%, 0%, 54.5%) |
| CIE-LAB | lab(18.28, 28.26, -48.16) |
| CIE-LCH | lch(18.28, 55.84, 300.40°) |
| OKLab | oklab(30.71% 0.0042 -0.1393) |
| OKLCH | oklch(30.71% 0.139 271.7) |
| XYZ | xyz(4.1472, 2.5812, 16.7993) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 5.65
Dark Royal Blue
#02066F
ΔE00 6.25
Darkblue (survey)
#030764
ΔE00 6.41
Deep Blue
#040273
ΔE00 6.90
Navy
#000080
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2174 #746E1B
analogous
#1B4D74 #1B2174 #411B74
triadic
#1B2174 #741B21 #21741B
tetradic
#1B2174 #741B4D #746E1B #1B7441
square
#1B2174 #741B4D #746E1B #1B7441
split-complementary
#1B2174 #74411B #4D741B
monochromatic
#060719 #0F1342 #1B2174 #272FA6 #3943D1
Accessibility & contrast
On white
13.85
#1B2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2174
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2174 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b2174; /* rgb */ color: rgb(27, 33, 116); /* oklch */ color: oklch(30.7% 0.139 271.7);
Tailwind
colors: {
custom: {
50: '#675c9d',
500: '#1b2174',
950: '#000000',
},
}SCSS
$custom: #1b2174; $custom-light: #675c9d; $custom-dark: #000000;
JSON
{
"hex": "#1b2174",
"rgb": {
"r": 27,
"g": 33,
"b": 116
},
"hsl": {
"h": 235.955,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.30714,
"c": 0.13937,
"h": 271.7
},
"luminance": 0.02582
}Semantic roles & 50–950 ramp
primary
#1B2174
secondary
#A9A242
accent
#DA42E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E