#1B148E#1B148E
#1B148E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.185 H 271.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1B148E |
|---|---|
| RGB | rgb(27, 20, 142) |
| HSL | hsl(243, 75%, 32%) |
| HSV | hsv(243, 86%, 56%) |
| CMYK | cmyk(81%, 85.9%, 0%, 44.3%) |
| CIE-LAB | lab(18.74, 44.63, -63.88) |
| CIE-LCH | lch(18.74, 77.93, 304.94°) |
| OKLab | oklab(31.92% 0.0041 -0.1848) |
| OKLCH | oklch(31.92% 0.185 271.3) |
| XYZ | xyz(5.5830, 2.6857, 25.8101) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.22
Darkblue
#00008B
ΔE00 3.16
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 3.96
Navy
#000080
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B148E #878E14
analogous
#144A8E #1B148E #58148E
triadic
#1B148E #8E1B14 #148E1B
tetradic
#1B148E #8E144A #878E14 #148E58
square
#1B148E #8E144A #878E14 #148E58
split-complementary
#1B148E #8E5814 #4A8E14
monochromatic
#070523 #110C58 #1B148E #251CC4 #4339E3
Accessibility & contrast
On white
13.66
#1B148E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B148E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B148E
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B148E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B148E | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b148e; /* rgb */ color: rgb(27, 20, 142); /* oklch */ color: oklch(31.9% 0.185 271.3);
Tailwind
colors: {
custom: {
50: '#6f56b0',
500: '#1b148e',
950: '#000000',
},
}SCSS
$custom: #1b148e; $custom-light: #6f56b0; $custom-dark: #000000;
JSON
{
"hex": "#1b148e",
"rgb": {
"r": 27,
"g": 20,
"b": 142
},
"hsl": {
"h": 243.443,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.31924,
"c": 0.18488,
"h": 271.3
},
"luminance": 0.02686
}Semantic roles & 50–950 ramp
primary
#1B148E
secondary
#BAC23C
accent
#F236E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880