#1F188A#1F188A
#1F188A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.176 H 273.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F188A |
|---|---|
| RGB | rgb(31, 24, 138) |
| HSL | hsl(244, 70%, 32%) |
| HSV | hsv(244, 83%, 54%) |
| CMYK | cmyk(77.5%, 82.6%, 0%, 45.9%) |
| CIE-LAB | lab(19.14, 41.68, -60.71) |
| CIE-LCH | lch(19.14, 73.65, 304.47°) |
| OKLab | oklab(32.12% 0.0092 -0.1757) |
| OKLCH | oklch(32.12% 0.176 273) |
| XYZ | xyz(5.4776, 2.7790, 24.2875) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.62
Darkblue
#00008B
ΔE00 3.93
Midnight Blue
#191970
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 4.30
Navy
#000080
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F188A #838A18
analogous
#184A8A #1F188A #58188A
triadic
#1F188A #8A1F18 #188A1F
tetradic
#1F188A #8A184A #838A18 #188A58
square
#1F188A #8A184A #838A18 #188A58
split-complementary
#1F188A #8A5818 #4A8A18
monochromatic
#080622 #130F56 #1F188A #2B21BE #493FDE
Accessibility & contrast
On white
13.50
#1F188A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1F188A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F188A
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F188A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F188A | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f188a; /* rgb */ color: rgb(31, 24, 138); /* oklch */ color: oklch(32.1% 0.176 273.0);
Tailwind
colors: {
custom: {
50: '#6f58ad',
500: '#1f188a',
950: '#000000',
},
}SCSS
$custom: #1f188a; $custom-light: #6f58ad; $custom-dark: #000000;
JSON
{
"hex": "#1f188a",
"rgb": {
"r": 31,
"g": 24,
"b": 138
},
"hsl": {
"h": 243.684,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.32121,
"c": 0.1759,
"h": 273
},
"luminance": 0.0278
}Semantic roles & 50–950 ramp
primary
#1F188A
secondary
#B6BD40
accent
#ED3BE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F