#1F2289#1F2289
#1F2289 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.165 H 271.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2289 |
|---|---|
| RGB | rgb(31, 34, 137) |
| HSL | hsl(238, 63%, 33%) |
| HSV | hsv(238, 77%, 54%) |
| CMYK | cmyk(77.4%, 75.2%, 0%, 46.3%) |
| CIE-LAB | lab(20.98, 35.73, -57.03) |
| CIE-LCH | lch(20.98, 67.30, 302.07°) |
| OKLab | oklab(33.39% 0.0053 -0.1651) |
| OKLCH | oklch(33.39% 0.165 271.8) |
| XYZ | xyz(5.6509, 3.2409, 23.9898) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.04
Midnight Blue
#191970
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 5.83
Darkblue
#00008B
ΔE00 6.21
Royal Blue (survey)
#0504AA
ΔE00 6.43
Navy
#000080
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2289 #89861F
analogous
#1F5789 #1F2289 #511F89
triadic
#1F2289 #891F22 #22891F
tetradic
#1F2289 #891F57 #89861F #1F8951
square
#1F2289 #891F57 #89861F #1F8951
split-complementary
#1F2289 #89511F #57891F
monochromatic
#080925 #141657 #1F2289 #2A2EBB #4C50D6
Accessibility & contrast
On white
12.74
#1F2289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2289
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2289 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2289; /* rgb */ color: rgb(31, 34, 137); /* oklch */ color: oklch(33.4% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#6e5ead',
500: '#1f2289',
950: '#000000',
},
}SCSS
$custom: #1f2289; $custom-light: #6e5ead; $custom-dark: #000000;
JSON
{
"hex": "#1f2289",
"rgb": {
"r": 31,
"g": 34,
"b": 137
},
"hsl": {
"h": 238.302,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.33388,
"c": 0.16517,
"h": 271.8
},
"luminance": 0.03242
}Semantic roles & 50–950 ramp
primary
#1F2289
secondary
#B9B64B
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F