#1F2E9E#1F2E9E
#1F2E9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.179 H 269.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E9E |
|---|---|
| RGB | rgb(31, 46, 158) |
| HSL | hsl(233, 67%, 37%) |
| HSV | hsv(233, 80%, 62%) |
| CMYK | cmyk(80.4%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(25.90, 35.85, -61.89) |
| CIE-LCH | lch(25.90, 71.52, 300.08°) |
| OKLab | oklab(37.58% -0.0031 -0.1793) |
| OKLCH | oklch(37.58% 0.179 269) |
| XYZ | xyz(7.7115, 4.7130, 32.8444) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Royal
#0C1793
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 6.34
Blueberry
#464196
ΔE00 6.89
Cobalt Blue
#030AA7
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E9E #9E8F1F
analogous
#1F6E9E #1F2E9E #4F1F9E
triadic
#1F2E9E #9E1F2E #2E9E1F
tetradic
#1F2E9E #9E1F6E #9E8F1F #1F9E4F
square
#1F2E9E #9E1F6E #9E8F1F #1F9E4F
split-complementary
#1F2E9E #9E4F1F #6E9E1F
monochromatic
#0B1038 #151F6B #1F2E9E #293DD1 #5969DE
Accessibility & contrast
On white
10.81
#1F2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1F2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E9E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E9E | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2e9e; /* rgb */ color: rgb(31, 46, 158); /* oklch */ color: oklch(37.6% 0.179 269.0);
Tailwind
colors: {
custom: {
50: '#7267bc',
500: '#1f2e9e',
950: '#000000',
},
}SCSS
$custom: #1f2e9e; $custom-light: #7267bc; $custom-dark: #000000;
JSON
{
"hex": "#1f2e9e",
"rgb": {
"r": 31,
"g": 46,
"b": 158
},
"hsl": {
"h": 232.913,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.3758,
"c": 0.17929,
"h": 269
},
"luminance": 0.04714
}Semantic roles & 50–950 ramp
primary
#1F2E9E
secondary
#C2B656
accent
#D63EEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81