#1F2FB4#1F2FB4
#1F2FB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.206 H 268.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2FB4 |
|---|---|
| RGB | rgb(31, 47, 180) |
| HSL | hsl(234, 71%, 41%) |
| HSV | hsv(234, 83%, 71%) |
| CMYK | cmyk(82.8%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(28.43, 43.09, -70.97) |
| CIE-LCH | lch(28.43, 83.03, 301.27°) |
| OKLab | oklab(40.08% -0.0061 -0.2057) |
| OKLCH | oklch(40.08% 0.206 268.3) |
| XYZ | xyz(9.8170, 5.6184, 43.7382) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.89
Indigo Blue
#3A18B1
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.67
True Blue
#010FCC
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 6.71
Mediumblue
#0000CD
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2FB4 #B4A41F
analogous
#1F7AB4 #1F2FB4 #5A1FB4
triadic
#1F2FB4 #B41F2F #2FB41F
tetradic
#1F2FB4 #B41F7A #B4A41F #1FB45A
square
#1F2FB4 #B41F7A #B4A41F #1FB45A
split-complementary
#1F2FB4 #B45A1F #7AB41F
monochromatic
#0D144C #162180 #1F2FB4 #3446DC #6876E5
Accessibility & contrast
On white
9.89
#1F2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F2FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2FB4
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2FB4 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f2fb4; /* rgb */ color: rgb(31, 47, 180); /* oklch */ color: oklch(40.1% 0.206 268.3);
Tailwind
colors: {
custom: {
50: '#7869cc',
500: '#1f2fb4',
950: '#000000',
},
}SCSS
$custom: #1f2fb4; $custom-light: #7869cc; $custom-dark: #000000;
JSON
{
"hex": "#1f2fb4",
"rgb": {
"r": 31,
"g": 47,
"b": 180
},
"hsl": {
"h": 233.557,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.40083,
"c": 0.20577,
"h": 268.3
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#1F2FB4
secondary
#CBC064
accent
#DA3AED
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82