#1F2288#1F2288
#1F2288 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.164 H 271.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2288 |
|---|---|
| RGB | rgb(31, 34, 136) |
| HSL | hsl(238, 63%, 33%) |
| HSV | hsv(238, 77%, 53%) |
| CMYK | cmyk(77.2%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(20.87, 35.38, -56.58) |
| CIE-LCH | lch(20.87, 66.73, 302.02°) |
| OKLab | oklab(33.28% 0.0055 -0.1638) |
| OKLCH | oklch(33.28% 0.164 271.9) |
| XYZ | xyz(5.5795, 3.2123, 23.6138) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.13
Midnight Blue
#191970
ΔE00 4.08
Cobalt Blue
#030AA7
ΔE00 5.95
Darkblue
#00008B
ΔE00 6.25
Royal Blue (survey)
#0504AA
ΔE00 6.55
Navy
#000080
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2288 #88851F
analogous
#1F5688 #1F2288 #511F88
triadic
#1F2288 #881F22 #22881F
tetradic
#1F2288 #881F56 #88851F #1F8851
square
#1F2288 #881F56 #88851F #1F8851
split-complementary
#1F2288 #88511F #56881F
monochromatic
#080924 #141656 #1F2288 #2A2EBA #4B4FD6
Accessibility & contrast
On white
12.78
#1F2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1F2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2288
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2288 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2288; /* rgb */ color: rgb(31, 34, 136); /* oklch */ color: oklch(33.3% 0.164 271.9);
Tailwind
colors: {
custom: {
50: '#6d5eac',
500: '#1f2288',
950: '#000000',
},
}SCSS
$custom: #1f2288; $custom-light: #6d5eac; $custom-dark: #000000;
JSON
{
"hex": "#1f2288",
"rgb": {
"r": 31,
"g": 34,
"b": 136
},
"hsl": {
"h": 238.286,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.33278,
"c": 0.16387,
"h": 271.9
},
"luminance": 0.03213
}Semantic roles & 50–950 ramp
primary
#1F2288
secondary
#B9B64A
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F