#1B147B#1B147B
#1B147B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.162 H 273.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1B147B |
|---|---|
| RGB | rgb(27, 20, 123) |
| HSL | hsl(244, 72%, 28%) |
| HSV | hsv(244, 84%, 48%) |
| CMYK | cmyk(78%, 83.7%, 0%, 51.8%) |
| CIE-LAB | lab(16.32, 38.52, -55.90) |
| CIE-LCH | lch(16.32, 67.88, 304.57°) |
| OKLab | oklab(29.56% 0.0091 -0.1617) |
| OKLCH | oklch(29.56% 0.162 273.2) |
| XYZ | xyz(4.2761, 2.1629, 18.9272) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Dark Royal Blue
#02066F
ΔE00 3.36
Royal
#0C1793
ΔE00 3.56
Deep Blue
#040273
ΔE00 3.58
Navy
#000080
ΔE00 3.60
Darkblue
#00008B
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B147B #747B14
analogous
#14407B #1B147B #4E147B
triadic
#1B147B #7B1B14 #147B1B
tetradic
#1B147B #7B1440 #747B14 #147B4E
square
#1B147B #7B1440 #747B14 #147B4E
split-complementary
#1B147B #7B4E14 #407B14
monochromatic
#06041A #0F0B46 #1B147B #271DB0 #392DDD
Accessibility & contrast
On white
14.66
#1B147B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B147B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B147B
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B147B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B147B | 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)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b147b; /* rgb */ color: rgb(27, 20, 123); /* oklch */ color: oklch(29.6% 0.162 273.2);
Tailwind
colors: {
custom: {
50: '#6a55a2',
500: '#1b147b',
950: '#000000',
},
}SCSS
$custom: #1b147b; $custom-light: #6a55a2; $custom-dark: #000000;
JSON
{
"hex": "#1b147b",
"rgb": {
"r": 27,
"g": 20,
"b": 123
},
"hsl": {
"h": 244.078,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.29558,
"c": 0.16196,
"h": 273.2
},
"luminance": 0.02163
}Semantic roles & 50–950 ramp
primary
#1B147B
secondary
#A9B13A
accent
#EF39E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F