#1F2E88#1F2E88
#1F2E88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.150 H 269.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E88 |
|---|---|
| RGB | rgb(31, 46, 136) |
| HSL | hsl(231, 63%, 33%) |
| HSV | hsv(231, 77%, 53%) |
| CMYK | cmyk(77.2%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(23.74, 27.60, -51.86) |
| CIE-LCH | lch(23.74, 58.75, 298.02°) |
| OKLab | oklab(35.36% -0.0014 -0.15) |
| OKLCH | oklch(35.36% 0.15 269.5) |
| XYZ | xyz(5.9845, 4.0222, 23.7487) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.50
Royal
#0C1793
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.88
Blueberry
#464196
ΔE00 7.01
Marine
#042E60
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E88 #88791F
analogous
#1F6288 #1F2E88 #451F88
triadic
#1F2E88 #881F2E #2E881F
tetradic
#1F2E88 #881F62 #88791F #1F8845
square
#1F2E88 #881F62 #88791F #1F8845
split-complementary
#1F2E88 #88451F #62881F
monochromatic
#080C24 #141D56 #1F2E88 #2A3FBA #4B5FD6
Accessibility & contrast
On white
11.64
#1F2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1F2E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E88
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E88 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2e88; /* rgb */ color: rgb(31, 46, 136); /* oklch */ color: oklch(35.4% 0.150 269.5);
Tailwind
colors: {
custom: {
50: '#6c66ac',
500: '#1f2e88',
950: '#000000',
},
}SCSS
$custom: #1f2e88; $custom-light: #6c66ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2e88",
"rgb": {
"r": 31,
"g": 46,
"b": 136
},
"hsl": {
"h": 231.429,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.35356,
"c": 0.14999,
"h": 269.5
},
"luminance": 0.04023
}Semantic roles & 50–950 ramp
primary
#1F2E88
secondary
#B9A94A
accent
#CE42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F