#1B1874#1B1874
#1B1874 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.149 H 273.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1874 |
|---|---|
| RGB | rgb(27, 24, 116) |
| HSL | hsl(242, 66%, 27%) |
| HSV | hsv(242, 79%, 45%) |
| CMYK | cmyk(76.7%, 79.3%, 0%, 54.5%) |
| CIE-LAB | lab(16.24, 33.93, -51.53) |
| CIE-LCH | lch(16.24, 61.70, 303.37°) |
| OKLab | oklab(29.25% 0.0092 -0.1491) |
| OKLCH | oklch(29.25% 0.149 273.5) |
| XYZ | xyz(3.9300, 2.1468, 16.7269) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.84
Dark Royal Blue
#02066F
ΔE00 3.87
Darkblue (survey)
#030764
ΔE00 4.32
Deep Blue
#040273
ΔE00 4.42
Royal
#0C1793
ΔE00 4.67
Navy
#000080
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1874 #717418
analogous
#184374 #1B1874 #491874
triadic
#1B1874 #741B18 #18741B
tetradic
#1B1874 #741843 #717418 #187449
square
#1B1874 #741843 #717418 #187449
split-complementary
#1B1874 #744918 #437418
monochromatic
#060519 #0F0E41 #1B1874 #2722A7 #3732D5
Accessibility & contrast
On white
14.69
#1B1874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1874
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1874 | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1874; /* rgb */ color: rgb(27, 24, 116); /* oklch */ color: oklch(29.3% 0.149 273.5);
Tailwind
colors: {
custom: {
50: '#68569d',
500: '#1b1874',
950: '#000000',
},
}SCSS
$custom: #1b1874; $custom-light: #68569d; $custom-dark: #000000;
JSON
{
"hex": "#1b1874",
"rgb": {
"r": 27,
"g": 24,
"b": 116
},
"hsl": {
"h": 241.957,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29254,
"c": 0.14936,
"h": 273.5
},
"luminance": 0.02147
}Semantic roles & 50–950 ramp
primary
#1B1874
secondary
#A6A93F
accent
#E93FE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E