#1F2FA9#1F2FA9
#1F2FA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.192 H 268.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2FA9 |
|---|---|
| RGB | rgb(31, 47, 169) |
| HSL | hsl(233, 69%, 39%) |
| HSV | hsv(233, 82%, 66%) |
| CMYK | cmyk(81.7%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(27.26, 39.21, -66.30) |
| CIE-LCH | lch(27.26, 77.03, 300.60°) |
| OKLab | oklab(38.9% -0.0048 -0.1921) |
| OKLCH | oklch(38.9% 0.192 268.6) |
| XYZ | xyz(8.7406, 5.1879, 38.0691) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.53
Indigo Blue
#3A18B1
ΔE00 5.74
Royal
#0C1793
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.45
True Blue
#010FCC
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2FA9 #A9991F
analogous
#1F74A9 #1F2FA9 #541FA9
triadic
#1F2FA9 #A91F2F #2FA91F
tetradic
#1F2FA9 #A91F74 #A9991F #1FA954
square
#1F2FA9 #A91F74 #A9991F #1FA954
split-complementary
#1F2FA9 #A9541F #74A91F
monochromatic
#0C1242 #162175 #1F2FA9 #2D41D8 #606FE2
Accessibility & contrast
On white
10.31
#1F2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1F2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2FA9
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2FA9 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f2fa9; /* rgb */ color: rgb(31, 47, 169); /* oklch */ color: oklch(38.9% 0.192 268.6);
Tailwind
colors: {
custom: {
50: '#7568c4',
500: '#1f2fa9',
950: '#000000',
},
}SCSS
$custom: #1f2fa9; $custom-light: #7568c4; $custom-dark: #000000;
JSON
{
"hex": "#1f2fa9",
"rgb": {
"r": 31,
"g": 47,
"b": 169
},
"hsl": {
"h": 233.043,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.38902,
"c": 0.19218,
"h": 268.6
},
"luminance": 0.05189
}Semantic roles & 50–950 ramp
primary
#1F2FA9
secondary
#C7BA5D
accent
#D73CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82