#1F2E95#1F2E95
#1F2E95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.168 H 269.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E95 |
|---|---|
| RGB | rgb(31, 46, 149) |
| HSL | hsl(232, 66%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(79.2%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.00, 32.52, -57.87) |
| CIE-LCH | lch(25.00, 66.38, 299.34°) |
| OKLab | oklab(36.65% -0.0023 -0.1675) |
| OKLCH | oklch(36.65% 0.168 269.2) |
| XYZ | xyz(6.9650, 4.4144, 28.9129) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Royal
#0C1793
ΔE00 5.66
Blueberry
#464196
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.28
Midnight Blue
#191970
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E95 #95861F
analogous
#1F6995 #1F2E95 #4B1F95
triadic
#1F2E95 #951F2E #2E951F
tetradic
#1F2E95 #951F69 #95861F #1F954B
square
#1F2E95 #951F69 #95861F #1F954B
split-complementary
#1F2E95 #954B1F #69951F
monochromatic
#0A0F30 #141E62 #1F2E95 #2A3EC8 #5364DB
Accessibility & contrast
On white
11.15
#1F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1F2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E95
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E95 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2e95; /* rgb */ color: rgb(31, 46, 149); /* oklch */ color: oklch(36.7% 0.168 269.2);
Tailwind
colors: {
custom: {
50: '#7067b5',
500: '#1f2e95',
950: '#000000',
},
}SCSS
$custom: #1f2e95; $custom-light: #7067b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2e95",
"rgb": {
"r": 31,
"g": 46,
"b": 149
},
"hsl": {
"h": 232.373,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36652,
"c": 0.16755,
"h": 269.2
},
"luminance": 0.04415
}Semantic roles & 50–950 ramp
primary
#1F2E95
secondary
#BFB151
accent
#D33FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80