#1B147E#1B147E
#1B147E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 272.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1B147E |
|---|---|
| RGB | rgb(27, 20, 126) |
| HSL | hsl(244, 73%, 29%) |
| HSV | hsv(244, 84%, 49%) |
| CMYK | cmyk(78.6%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(16.70, 39.51, -57.19) |
| CIE-LCH | lch(16.70, 69.51, 304.64°) |
| OKLab | oklab(29.93% 0.0083 -0.1655) |
| OKLCH | oklch(29.93% 0.166 272.9) |
| XYZ | xyz(4.4668, 2.2392, 19.9314) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.79
Royal
#0C1793
ΔE00 3.12
Navy
#000080
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 3.60
Darkblue
#00008B
ΔE00 3.68
Deep Blue
#040273
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B147E #777E14
analogous
#14427E #1B147E #50147E
triadic
#1B147E #7E1B14 #147E1B
tetradic
#1B147E #7E1442 #777E14 #147E50
square
#1B147E #7E1442 #777E14 #147E50
split-complementary
#1B147E #7E5014 #427E14
monochromatic
#06041A #100C49 #1B147E #261CB3 #3A2EDE
Accessibility & contrast
On white
14.50
#1B147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B147E
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B147E | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b147e; /* rgb */ color: rgb(27, 20, 126); /* oklch */ color: oklch(29.9% 0.166 272.9);
Tailwind
colors: {
custom: {
50: '#6b55a5',
500: '#1b147e',
950: '#000000',
},
}SCSS
$custom: #1b147e; $custom-light: #6b55a5; $custom-dark: #000000;
JSON
{
"hex": "#1b147e",
"rgb": {
"r": 27,
"g": 20,
"b": 126
},
"hsl": {
"h": 243.962,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.29927,
"c": 0.16566,
"h": 272.9
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#1B147E
secondary
#ABB33A
accent
#EF38E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F