#1F1988#1F1988
#1F1988 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.173 H 273.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1988 |
|---|---|
| RGB | rgb(31, 25, 136) |
| HSL | hsl(243, 69%, 32%) |
| HSV | hsv(243, 82%, 53%) |
| CMYK | cmyk(77.2%, 81.6%, 0%, 46.7%) |
| CIE-LAB | lab(19.07, 40.51, -59.57) |
| CIE-LCH | lch(19.07, 72.04, 304.22°) |
| OKLab | oklab(32.01% 0.0093 -0.1723) |
| OKLCH | oklch(32.01% 0.173 273.1) |
| XYZ | xyz(5.3552, 2.7636, 23.5390) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.87
Midnight Blue
#191970
ΔE00 3.88
Darkblue
#00008B
ΔE00 4.16
Navy
#000080
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1988 #828819
analogous
#194B88 #1F1988 #571988
triadic
#1F1988 #881F19 #19881F
tetradic
#1F1988 #88194B #828819 #198857
square
#1F1988 #88194B #828819 #198857
split-complementary
#1F1988 #885719 #4B8819
monochromatic
#070621 #130F54 #1F1988 #2B23BC #4840DC
Accessibility & contrast
On white
13.52
#1F1988 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F1988 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1988
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1988 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1988 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1988; /* rgb */ color: rgb(31, 25, 136); /* oklch */ color: oklch(32.0% 0.173 273.1);
Tailwind
colors: {
custom: {
50: '#6e59ac',
500: '#1f1988',
950: '#000000',
},
}SCSS
$custom: #1f1988; $custom-light: #6e59ac; $custom-dark: #000000;
JSON
{
"hex": "#1f1988",
"rgb": {
"r": 31,
"g": 25,
"b": 136
},
"hsl": {
"h": 243.243,
"s": 68.944,
"l": 31.569
},
"oklch": {
"l": 0.32005,
"c": 0.1726,
"h": 273.1
},
"luminance": 0.02764
}Semantic roles & 50–950 ramp
primary
#1F1988
secondary
#B5BB41
accent
#EC3CE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F