#1B188E#1B188E
#1B188E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.182 H 271.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1B188E |
|---|---|
| RGB | rgb(27, 24, 142) |
| HSL | hsl(242, 71%, 33%) |
| HSV | hsv(242, 83%, 56%) |
| CMYK | cmyk(81%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(19.39, 42.72, -62.81) |
| CIE-LCH | lch(19.39, 75.96, 304.22°) |
| OKLab | oklab(32.37% 0.0032 -0.1818) |
| OKLCH | oklch(32.37% 0.182 271) |
| XYZ | xyz(5.6595, 2.8386, 25.8356) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.02
Cobalt Blue
#030AA7
ΔE00 3.77
Darkblue
#00008B
ΔE00 3.87
Royal Blue (survey)
#0504AA
ΔE00 4.32
Navy
#000080
ΔE00 4.60
Midnight Blue
#191970
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B188E #8B8E18
analogous
#18508E #1B188E #56188E
triadic
#1B188E #8E1B18 #188E1B
tetradic
#1B188E #8E1850 #8B8E18 #188E56
square
#1B188E #8E1850 #8B8E18 #188E56
split-complementary
#1B188E #8E5618 #508E18
monochromatic
#070625 #110F5A #1B188E #2521C2 #4541DF
Accessibility & contrast
On white
13.39
#1B188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B188E
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B188E | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b188e; /* rgb */ color: rgb(27, 24, 142); /* oklch */ color: oklch(32.4% 0.182 271.0);
Tailwind
colors: {
custom: {
50: '#6f58b0',
500: '#1b188e',
950: '#000000',
},
}SCSS
$custom: #1b188e; $custom-light: #6f58b0; $custom-dark: #000000;
JSON
{
"hex": "#1b188e",
"rgb": {
"r": 27,
"g": 24,
"b": 142
},
"hsl": {
"h": 241.525,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32372,
"c": 0.18183,
"h": 271
},
"luminance": 0.02839
}Semantic roles & 50–950 ramp
primary
#1B188E
secondary
#BCC042
accent
#EE3AE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880