#1F2E96#1F2E96
#1F2E96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.169 H 269.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E96 |
|---|---|
| RGB | rgb(31, 46, 150) |
| HSL | hsl(232, 66%, 35%) |
| HSV | hsv(232, 79%, 59%) |
| CMYK | cmyk(79.3%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.10, 32.90, -58.32) |
| CIE-LCH | lch(25.10, 66.96, 299.43°) |
| OKLab | oklab(36.75% -0.0024 -0.1688) |
| OKLCH | oklch(36.75% 0.169 269.2) |
| XYZ | xyz(7.0452, 4.4465, 29.3352) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Royal
#0C1793
ΔE00 5.64
Blueberry
#464196
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.11
Indigo Blue
#3A18B1
ΔE00 7.16
Midnight Blue
#191970
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E96 #96871F
analogous
#1F6996 #1F2E96 #4B1F96
triadic
#1F2E96 #961F2E #2E961F
tetradic
#1F2E96 #961F69 #96871F #1F964B
square
#1F2E96 #961F69 #96871F #1F964B
split-complementary
#1F2E96 #964B1F #69961F
monochromatic
#0A0F31 #151E63 #1F2E96 #293EC9 #5465DC
Accessibility & contrast
On white
11.11
#1F2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F2E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E96
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E96 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2e96; /* rgb */ color: rgb(31, 46, 150); /* oklch */ color: oklch(36.8% 0.169 269.2);
Tailwind
colors: {
custom: {
50: '#7067b6',
500: '#1f2e96',
950: '#000000',
},
}SCSS
$custom: #1f2e96; $custom-light: #7067b6; $custom-dark: #000000;
JSON
{
"hex": "#1f2e96",
"rgb": {
"r": 31,
"g": 46,
"b": 150
},
"hsl": {
"h": 232.437,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.36754,
"c": 0.16887,
"h": 269.2
},
"luminance": 0.04447
}Semantic roles & 50–950 ramp
primary
#1F2E96
secondary
#BFB152
accent
#D33FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80