#1F2DB4#1F2DB4
#1F2DB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.208 H 268.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2DB4 |
|---|---|
| RGB | rgb(31, 45, 180) |
| HSL | hsl(234, 71%, 41%) |
| HSV | hsv(234, 83%, 71%) |
| CMYK | cmyk(82.8%, 75%, 0%, 29.4%) |
| CIE-LAB | lab(28.01, 44.26, -71.66) |
| CIE-LCH | lch(28.01, 84.22, 301.70°) |
| OKLab | oklab(39.79% -0.0055 -0.2077) |
| OKLCH | oklch(39.79% 0.208 268.5) |
| XYZ | xyz(9.7388, 5.4622, 43.7122) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.35
Indigo Blue
#3A18B1
ΔE00 4.87
True Blue
#010FCC
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 6.12
Mediumblue
#0000CD
ΔE00 6.35
Ultramarine Blue
#1805DB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2DB4 #B4A61F
analogous
#1F78B4 #1F2DB4 #5B1FB4
triadic
#1F2DB4 #B41F2D #2DB41F
tetradic
#1F2DB4 #B41F78 #B4A61F #1FB45B
square
#1F2DB4 #B41F78 #B4A61F #1FB45B
split-complementary
#1F2DB4 #B45B1F #78B41F
monochromatic
#0D134C #162080 #1F2DB4 #3444DC #6874E5
Accessibility & contrast
On white
10.04
#1F2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#1F2DB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2DB4
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2DB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2DB4 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f2db4; /* rgb */ color: rgb(31, 45, 180); /* oklch */ color: oklch(39.8% 0.208 268.5);
Tailwind
colors: {
custom: {
50: '#7867cc',
500: '#1f2db4',
950: '#000000',
},
}SCSS
$custom: #1f2db4; $custom-light: #7867cc; $custom-dark: #000000;
JSON
{
"hex": "#1f2db4",
"rgb": {
"r": 31,
"g": 45,
"b": 180
},
"hsl": {
"h": 234.362,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.39787,
"c": 0.20773,
"h": 268.5
},
"luminance": 0.05463
}Semantic roles & 50–950 ramp
primary
#1F2DB4
secondary
#CBC164
accent
#DD3AED
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82