#1B147F#1B147F
#1B147F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 272.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1B147F |
|---|---|
| RGB | rgb(27, 20, 127) |
| HSL | hsl(244, 73%, 29%) |
| HSV | hsv(244, 84%, 50%) |
| CMYK | cmyk(78.7%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(16.82, 39.83, -57.62) |
| CIE-LCH | lch(16.82, 70.05, 304.66°) |
| OKLab | oklab(30.05% 0.008 -0.1667) |
| OKLCH | oklch(30.05% 0.167 272.8) |
| XYZ | xyz(4.5316, 2.2651, 20.2729) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 2.98
Navy
#000080
ΔE00 3.48
Darkblue
#00008B
ΔE00 3.59
Dark Royal Blue
#02066F
ΔE00 3.69
Deep Blue
#040273
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B147F #787F14
analogous
#14437F #1B147F #51147F
triadic
#1B147F #7F1B14 #147F1B
tetradic
#1B147F #7F1443 #787F14 #147F51
square
#1B147F #7F1443 #787F14 #147F51
split-complementary
#1B147F #7F5114 #437F14
monochromatic
#06041A #100C4A #1B147F #261CB4 #3B2FDE
Accessibility & contrast
On white
14.45
#1B147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B147F
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B147F | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b147f; /* rgb */ color: rgb(27, 20, 127); /* oklch */ color: oklch(30.0% 0.167 272.8);
Tailwind
colors: {
custom: {
50: '#6b55a5',
500: '#1b147f',
950: '#000000',
},
}SCSS
$custom: #1b147f; $custom-light: #6b55a5; $custom-dark: #000000;
JSON
{
"hex": "#1b147f",
"rgb": {
"r": 27,
"g": 20,
"b": 127
},
"hsl": {
"h": 243.925,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3005,
"c": 0.16688,
"h": 272.8
},
"luminance": 0.02266
}Semantic roles & 50–950 ramp
primary
#1B147F
secondary
#ACB43B
accent
#EF38E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F