#1F188F#1F188F
#1F188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.182 H 272.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F188F |
|---|---|
| RGB | rgb(31, 24, 143) |
| HSL | hsl(244, 71%, 33%) |
| HSV | hsv(244, 83%, 56%) |
| CMYK | cmyk(78.3%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(19.75, 43.30, -62.82) |
| CIE-LCH | lch(19.75, 76.30, 304.58°) |
| OKLab | oklab(32.72% 0.0079 -0.1818) |
| OKLCH | oklch(32.72% 0.182 272.5) |
| XYZ | xyz(5.8480, 2.9271, 26.2381) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.21
Cobalt Blue
#030AA7
ΔE00 3.67
Darkblue
#00008B
ΔE00 3.97
Royal Blue (survey)
#0504AA
ΔE00 4.21
Navy
#000080
ΔE00 4.75
Indigo (survey)
#380282
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F188F #888F18
analogous
#184D8F #1F188F #5A188F
triadic
#1F188F #8F1F18 #188F1F
tetradic
#1F188F #8F184D #888F18 #188F5A
square
#1F188F #8F184D #888F18 #188F5A
split-complementary
#1F188F #8F5A18 #4D8F18
monochromatic
#080626 #140F5B #1F188F #2A21C3 #4B42DF
Accessibility & contrast
On white
13.24
#1F188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F188F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F188F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f188f; /* rgb */ color: rgb(31, 24, 143); /* oklch */ color: oklch(32.7% 0.182 272.5);
Tailwind
colors: {
custom: {
50: '#7059b1',
500: '#1f188f',
950: '#000000',
},
}SCSS
$custom: #1f188f; $custom-light: #7059b1; $custom-dark: #000000;
JSON
{
"hex": "#1f188f",
"rgb": {
"r": 31,
"g": 24,
"b": 143
},
"hsl": {
"h": 243.529,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.32724,
"c": 0.18193,
"h": 272.5
},
"luminance": 0.02928
}Semantic roles & 50–950 ramp
primary
#1F188F
secondary
#B9C043
accent
#EE3AE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980