#1B1876#1B1876
#1B1876 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.152 H 273.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1876 |
|---|---|
| RGB | rgb(27, 24, 118) |
| HSL | hsl(242, 66%, 28%) |
| HSV | hsv(242, 80%, 46%) |
| CMYK | cmyk(77.1%, 79.7%, 0%, 53.7%) |
| CIE-LAB | lab(16.47, 34.63, -52.43) |
| CIE-LCH | lch(16.47, 62.84, 303.45°) |
| OKLab | oklab(29.49% 0.0087 -0.1517) |
| OKLCH | oklch(29.49% 0.152 273.3) |
| XYZ | xyz(4.0476, 2.1939, 17.3462) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.14
Dark Royal Blue
#02066F
ΔE00 3.88
Royal
#0C1793
ΔE00 4.35
Deep Blue
#040273
ΔE00 4.38
Darkblue (survey)
#030764
ΔE00 4.46
Navy
#000080
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1876 #737618
analogous
#184476 #1B1876 #4A1876
triadic
#1B1876 #761B18 #18761B
tetradic
#1B1876 #761844 #737618 #18764A
square
#1B1876 #761844 #737618 #18764A
split-complementary
#1B1876 #764A18 #447618
monochromatic
#060519 #0F0E43 #1B1876 #2722A9 #3833D5
Accessibility & contrast
On white
14.60
#1B1876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1B1876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1876
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1876 | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1876; /* rgb */ color: rgb(27, 24, 118); /* oklch */ color: oklch(29.5% 0.152 273.3);
Tailwind
colors: {
custom: {
50: '#68579f',
500: '#1b1876',
950: '#000000',
},
}SCSS
$custom: #1b1876; $custom-light: #68579f; $custom-dark: #000000;
JSON
{
"hex": "#1b1876",
"rgb": {
"r": 27,
"g": 24,
"b": 118
},
"hsl": {
"h": 241.915,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.29488,
"c": 0.15196,
"h": 273.3
},
"luminance": 0.02194
}Semantic roles & 50–950 ramp
primary
#1B1876
secondary
#A8AB3F
accent
#E93FE4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E