#1B188B#1B188B
#1B188B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.178 H 271.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B188B |
|---|---|
| RGB | rgb(27, 24, 139) |
| HSL | hsl(242, 71%, 32%) |
| HSV | hsv(242, 83%, 55%) |
| CMYK | cmyk(80.6%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.01, 41.74, -61.55) |
| CIE-LCH | lch(19.01, 74.37, 304.14°) |
| OKLab | oklab(32.01% 0.0039 -0.1782) |
| OKLCH | oklch(32.01% 0.178 271.3) |
| XYZ | xyz(5.4373, 2.7498, 24.6653) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.32
Darkblue
#00008B
ΔE00 3.85
Cobalt Blue
#030AA7
ΔE00 4.15
Midnight Blue
#191970
ΔE00 4.29
Navy
#000080
ΔE00 4.45
Royal Blue (survey)
#0504AA
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B188B #888B18
analogous
#184F8B #1B188B #55188B
triadic
#1B188B #8B1B18 #188B1B
tetradic
#1B188B #8B184F #888B18 #188B55
square
#1B188B #8B184F #888B18 #188B55
split-complementary
#1B188B #8B5518 #4F8B18
monochromatic
#070623 #110F57 #1B188B #2521BF #443FDE
Accessibility & contrast
On white
13.55
#1B188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B188B
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B188B | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b188b; /* rgb */ color: rgb(27, 24, 139); /* oklch */ color: oklch(32.0% 0.178 271.3);
Tailwind
colors: {
custom: {
50: '#6e58ae',
500: '#1b188b',
950: '#000000',
},
}SCSS
$custom: #1b188b; $custom-light: #6e58ae; $custom-dark: #000000;
JSON
{
"hex": "#1b188b",
"rgb": {
"r": 27,
"g": 24,
"b": 139
},
"hsl": {
"h": 241.565,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32005,
"c": 0.17821,
"h": 271.3
},
"luminance": 0.0275
}Semantic roles & 50–950 ramp
primary
#1B188B
secondary
#BBBE40
accent
#ED3AE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F