#1F2EA0#1F2EA0
#1F2EA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.182 H 268.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2EA0 |
|---|---|
| RGB | rgb(31, 46, 160) |
| HSL | hsl(233, 68%, 37%) |
| HSV | hsv(233, 81%, 63%) |
| CMYK | cmyk(80.6%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(26.11, 36.58, -62.77) |
| CIE-LCH | lch(26.11, 72.65, 300.23°) |
| OKLab | oklab(37.79% -0.0033 -0.1818) |
| OKLCH | oklch(37.79% 0.182 268.9) |
| XYZ | xyz(7.8850, 4.7825, 33.7584) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Royal
#0C1793
ΔE00 5.69
Indigo Blue
#3A18B1
ΔE00 6.16
Blueberry
#464196
ΔE00 6.94
Cobalt Blue
#030AA7
ΔE00 6.96
Blue Blue
#2242C7
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2EA0 #A0911F
analogous
#1F6FA0 #1F2EA0 #501FA0
triadic
#1F2EA0 #A01F2E #2EA01F
tetradic
#1F2EA0 #A01F6F #A0911F #1FA050
square
#1F2EA0 #A01F6F #A0911F #1FA050
split-complementary
#1F2EA0 #A0501F #6FA01F
monochromatic
#0B1139 #151F6D #1F2EA0 #293DD3 #5A6ADF
Accessibility & contrast
On white
10.73
#1F2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F2EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2EA0
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2EA0 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ea0; /* rgb */ color: rgb(31, 46, 160); /* oklch */ color: oklch(37.8% 0.182 268.9);
Tailwind
colors: {
custom: {
50: '#7367bd',
500: '#1f2ea0',
950: '#000000',
},
}SCSS
$custom: #1f2ea0; $custom-light: #7367bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2ea0",
"rgb": {
"r": 31,
"g": 46,
"b": 160
},
"hsl": {
"h": 233.023,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.3779,
"c": 0.18185,
"h": 268.9
},
"luminance": 0.04783
}Semantic roles & 50–950 ramp
primary
#1F2EA0
secondary
#C3B758
accent
#D63DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81