#1F2E94#1F2E94
#1F2E94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.166 H 269.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E94 |
|---|---|
| RGB | rgb(31, 46, 148) |
| HSL | hsl(232, 65%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(79.1%, 68.9%, 0%, 42%) |
| CIE-LAB | lab(24.90, 32.15, -57.41) |
| CIE-LCH | lch(24.90, 65.80, 299.25°) |
| OKLab | oklab(36.55% -0.0022 -0.1662) |
| OKLCH | oklch(36.55% 0.166 269.2) |
| XYZ | xyz(6.8855, 4.3826, 28.4943) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.06
Royal
#0C1793
ΔE00 5.69
Blueberry
#464196
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.05
Midnight Blue
#191970
ΔE00 7.24
Indigo Blue
#3A18B1
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E94 #94851F
analogous
#1F6894 #1F2E94 #4B1F94
triadic
#1F2E94 #941F2E #2E941F
tetradic
#1F2E94 #941F68 #94851F #1F944B
square
#1F2E94 #941F68 #94851F #1F944B
split-complementary
#1F2E94 #944B1F #68941F
monochromatic
#0A0F2F #141E61 #1F2E94 #2A3EC7 #5364DB
Accessibility & contrast
On white
11.19
#1F2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1F2E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E94
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E94 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2e94; /* rgb */ color: rgb(31, 46, 148); /* oklch */ color: oklch(36.5% 0.166 269.2);
Tailwind
colors: {
custom: {
50: '#6f67b4',
500: '#1f2e94',
950: '#000000',
},
}SCSS
$custom: #1f2e94; $custom-light: #6f67b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2e94",
"rgb": {
"r": 31,
"g": 46,
"b": 148
},
"hsl": {
"h": 232.308,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.3655,
"c": 0.16622,
"h": 269.2
},
"luminance": 0.04383
}Semantic roles & 50–950 ramp
primary
#1F2E94
secondary
#BEB051
accent
#D33FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80