#1F2E93#1F2E93
#1F2E93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.165 H 269.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E93 |
|---|---|
| RGB | rgb(31, 46, 147) |
| HSL | hsl(232, 65%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(78.9%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(24.80, 31.77, -56.96) |
| CIE-LCH | lch(24.80, 65.22, 299.16°) |
| OKLab | oklab(36.45% -0.0021 -0.1649) |
| OKLCH | oklch(36.45% 0.165 269.3) |
| XYZ | xyz(6.8067, 4.3511, 28.0792) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Royal
#0C1793
ΔE00 5.72
Blueberry
#464196
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.15
Indigo Blue
#3A18B1
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E93 #93841F
analogous
#1F6893 #1F2E93 #4A1F93
triadic
#1F2E93 #931F2E #2E931F
tetradic
#1F2E93 #931F68 #93841F #1F934A
square
#1F2E93 #931F68 #93841F #1F934A
split-complementary
#1F2E93 #934A1F #68931F
monochromatic
#0A0E2E #141E60 #1F2E93 #2A3EC6 #5264DA
Accessibility & contrast
On white
11.23
#1F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F2E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E93
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E93 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2e93; /* rgb */ color: rgb(31, 46, 147); /* oklch */ color: oklch(36.4% 0.165 269.3);
Tailwind
colors: {
custom: {
50: '#6f67b4',
500: '#1f2e93',
950: '#000000',
},
}SCSS
$custom: #1f2e93; $custom-light: #6f67b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2e93",
"rgb": {
"r": 31,
"g": 46,
"b": 147
},
"hsl": {
"h": 232.241,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36449,
"c": 0.16489,
"h": 269.3
},
"luminance": 0.04352
}Semantic roles & 50–950 ramp
primary
#1F2E93
secondary
#BEB050
accent
#D240E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80