#1F2EA1#1F2EA1
#1F2EA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.183 H 268.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2EA1 |
|---|---|
| RGB | rgb(31, 46, 161) |
| HSL | hsl(233, 68%, 38%) |
| HSV | hsv(233, 81%, 63%) |
| CMYK | cmyk(80.7%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.21, 36.94, -63.21) |
| CIE-LCH | lch(26.21, 73.21, 300.30°) |
| OKLab | oklab(37.9% -0.0034 -0.1831) |
| OKLCH | oklch(37.9% 0.183 268.9) |
| XYZ | xyz(7.9729, 4.8176, 34.2210) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Royal
#0C1793
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 6.93
Blueberry
#464196
ΔE00 6.97
True Blue
#010FCC
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2EA1 #A1921F
analogous
#1F6FA1 #1F2EA1 #511FA1
triadic
#1F2EA1 #A11F2E #2EA11F
tetradic
#1F2EA1 #A11F6F #A1921F #1FA151
square
#1F2EA1 #A11F6F #A1921F #1FA151
split-complementary
#1F2EA1 #A1511F #6FA11F
monochromatic
#0B113A #151F6E #1F2EA1 #293DD4 #5B6ADF
Accessibility & contrast
On white
10.69
#1F2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2EA1
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2EA1 | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ea1; /* rgb */ color: rgb(31, 46, 161); /* oklch */ color: oklch(37.9% 0.183 268.9);
Tailwind
colors: {
custom: {
50: '#7367be',
500: '#1f2ea1',
950: '#000000',
},
}SCSS
$custom: #1f2ea1; $custom-light: #7367be; $custom-dark: #000000;
JSON
{
"hex": "#1f2ea1",
"rgb": {
"r": 31,
"g": 46,
"b": 161
},
"hsl": {
"h": 233.077,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.37895,
"c": 0.18313,
"h": 268.9
},
"luminance": 0.04819
}Semantic roles & 50–950 ramp
primary
#1F2EA1
secondary
#C4B758
accent
#D73DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81