#1F2EB4#1F2EB4
#1F2EB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.207 H 268.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2EB4 |
|---|---|
| RGB | rgb(31, 46, 180) |
| HSL | hsl(234, 71%, 41%) |
| HSV | hsv(234, 83%, 71%) |
| CMYK | cmyk(82.8%, 74.4%, 0%, 29.4%) |
| CIE-LAB | lab(28.22, 43.68, -71.31) |
| CIE-LCH | lch(28.22, 83.63, 301.49°) |
| OKLab | oklab(39.93% -0.0058 -0.2067) |
| OKLCH | oklch(39.93% 0.207 268.4) |
| XYZ | xyz(9.7774, 5.5394, 43.7251) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 5.10
True Blue
#010FCC
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.90
Mediumblue
#0000CD
ΔE00 6.57
Ultramarine Blue
#1805DB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2EB4 #B4A51F
analogous
#1F79B4 #1F2EB4 #5B1FB4
triadic
#1F2EB4 #B41F2E #2EB41F
tetradic
#1F2EB4 #B41F79 #B4A51F #1FB45B
square
#1F2EB4 #B41F79 #B4A51F #1FB45B
split-complementary
#1F2EB4 #B45B1F #79B41F
monochromatic
#0D134C #162180 #1F2EB4 #3445DC #6875E5
Accessibility & contrast
On white
9.96
#1F2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1F2EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2EB4
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2EB4 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f2eb4; /* rgb */ color: rgb(31, 46, 180); /* oklch */ color: oklch(39.9% 0.207 268.4);
Tailwind
colors: {
custom: {
50: '#7868cc',
500: '#1f2eb4',
950: '#000000',
},
}SCSS
$custom: #1f2eb4; $custom-light: #7868cc; $custom-dark: #000000;
JSON
{
"hex": "#1f2eb4",
"rgb": {
"r": 31,
"g": 46,
"b": 180
},
"hsl": {
"h": 233.96,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.39934,
"c": 0.20676,
"h": 268.4
},
"luminance": 0.05541
}Semantic roles & 50–950 ramp
primary
#1F2EB4
secondary
#CBC064
accent
#DB3AED
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82