#1B188F#1B188F
#1B188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.183 H 270.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1B188F |
|---|---|
| RGB | rgb(27, 24, 143) |
| HSL | hsl(242, 71%, 33%) |
| HSV | hsv(242, 83%, 56%) |
| CMYK | cmyk(81.1%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(19.51, 43.05, -63.22) |
| CIE-LCH | lch(19.51, 76.49, 304.25°) |
| OKLab | oklab(32.49% 0.003 -0.183) |
| OKLCH | oklch(32.49% 0.183 270.9) |
| XYZ | xyz(5.7349, 2.8688, 26.2328) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.94
Cobalt Blue
#030AA7
ΔE00 3.64
Darkblue
#00008B
ΔE00 3.89
Royal Blue (survey)
#0504AA
ΔE00 4.20
Navy
#000080
ΔE00 4.67
Midnight Blue
#191970
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B188F #8C8F18
analogous
#18508F #1B188F #57188F
triadic
#1B188F #8F1B18 #188F1B
tetradic
#1B188F #8F1850 #8C8F18 #188F57
square
#1B188F #8F1850 #8C8F18 #188F57
split-complementary
#1B188F #8F5718 #508F18
monochromatic
#070626 #110F5B #1B188F #2521C3 #4642DF
Accessibility & contrast
On white
13.34
#1B188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B188F
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B188F | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b188f; /* rgb */ color: rgb(27, 24, 143); /* oklch */ color: oklch(32.5% 0.183 270.9);
Tailwind
colors: {
custom: {
50: '#6f58b1',
500: '#1b188f',
950: '#000000',
},
}SCSS
$custom: #1b188f; $custom-light: #6f58b1; $custom-dark: #000000;
JSON
{
"hex": "#1b188f",
"rgb": {
"r": 27,
"g": 24,
"b": 143
},
"hsl": {
"h": 241.513,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.32494,
"c": 0.18303,
"h": 270.9
},
"luminance": 0.02869
}Semantic roles & 50–950 ramp
primary
#1B188F
secondary
#BDC043
accent
#EE3AE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880