#1B1678#1B1678
#1B1678 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.156 H 273.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1678 |
|---|---|
| RGB | rgb(27, 22, 120) |
| HSL | hsl(243, 69%, 28%) |
| HSV | hsv(243, 82%, 47%) |
| CMYK | cmyk(77.5%, 81.7%, 0%, 52.9%) |
| CIE-LAB | lab(16.32, 36.45, -53.98) |
| CIE-LCH | lch(16.32, 65.13, 304.03°) |
| OKLab | oklab(29.45% 0.0091 -0.1562) |
| OKLCH | oklch(29.45% 0.156 273.3) |
| XYZ | xyz(4.1279, 2.1625, 17.9655) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.71
Dark Royal Blue
#02066F
ΔE00 3.53
Deep Blue
#040273
ΔE00 3.92
Royal
#0C1793
ΔE00 3.99
Navy
#000080
ΔE00 4.18
Darkblue (survey)
#030764
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1678 #737816
analogous
#164278 #1B1678 #4C1678
triadic
#1B1678 #781B16 #16781B
tetradic
#1B1678 #781642 #737816 #16784C
square
#1B1678 #781642 #737816 #16784C
split-complementary
#1B1678 #784C16 #427816
monochromatic
#06051A #0F0D44 #1B1678 #271FAC #382FD9
Accessibility & contrast
On white
14.66
#1B1678 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1678 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1678
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1678 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1678 | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1678; /* rgb */ color: rgb(27, 22, 120); /* oklch */ color: oklch(29.4% 0.156 273.3);
Tailwind
colors: {
custom: {
50: '#6956a0',
500: '#1b1678',
950: '#000000',
},
}SCSS
$custom: #1b1678; $custom-light: #6956a0; $custom-dark: #000000;
JSON
{
"hex": "#1b1678",
"rgb": {
"r": 27,
"g": 22,
"b": 120
},
"hsl": {
"h": 243.061,
"s": 69.014,
"l": 27.843
},
"oklch": {
"l": 0.29449,
"c": 0.15644,
"h": 273.3
},
"luminance": 0.02163
}Semantic roles & 50–950 ramp
primary
#1B1678
secondary
#A8AD3C
accent
#EC3CE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F