#1B2173#1B2173
#1B2173 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.138 H 271.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2173 |
|---|---|
| RGB | rgb(27, 33, 115) |
| HSL | hsl(236, 62%, 28%) |
| HSV | hsv(236, 77%, 45%) |
| CMYK | cmyk(76.5%, 71.3%, 0%, 54.9%) |
| CIE-LAB | lab(18.18, 27.88, -47.69) |
| CIE-LCH | lch(18.18, 55.24, 300.31°) |
| OKLab | oklab(30.61% 0.0044 -0.1379) |
| OKLCH | oklch(30.61% 0.138 271.8) |
| XYZ | xyz(4.0893, 2.5581, 16.4946) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.23
Royal
#0C1793
ΔE00 5.81
Dark Royal Blue
#02066F
ΔE00 6.29
Darkblue (survey)
#030764
ΔE00 6.40
Deep Blue
#040273
ΔE00 6.96
Navy
#000080
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2173 #736D1B
analogous
#1B4D73 #1B2173 #411B73
triadic
#1B2173 #731B21 #21731B
tetradic
#1B2173 #731B4D #736D1B #1B7341
square
#1B2173 #731B4D #736D1B #1B7341
split-complementary
#1B2173 #73411B #4D731B
monochromatic
#060719 #0F1341 #1B2173 #272FA5 #3842D0
Accessibility & contrast
On white
13.89
#1B2173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B2173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2173
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2173 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b2173; /* rgb */ color: rgb(27, 33, 115); /* oklch */ color: oklch(30.6% 0.138 271.8);
Tailwind
colors: {
custom: {
50: '#675c9c',
500: '#1b2173',
950: '#000000',
},
}SCSS
$custom: #1b2173; $custom-light: #675c9c; $custom-dark: #000000;
JSON
{
"hex": "#1b2173",
"rgb": {
"r": 27,
"g": 33,
"b": 115
},
"hsl": {
"h": 235.909,
"s": 61.972,
"l": 27.843
},
"oklch": {
"l": 0.30608,
"c": 0.138,
"h": 271.8
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#1B2173
secondary
#A8A142
accent
#DA43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E