#1F1EB3#1F1EB3
#1F1EB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.219 H 269.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1EB3 |
|---|---|
| RGB | rgb(31, 30, 179) |
| HSL | hsl(240, 71%, 41%) |
| HSV | hsv(240, 83%, 70%) |
| CMYK | cmyk(82.7%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(25.18, 51.77, -75.76) |
| CIE-LCH | lch(25.18, 91.76, 304.35°) |
| OKLab | oklab(37.76% -0.0018 -0.2193) |
| OKLCH | oklch(37.76% 0.219 269.5) |
| XYZ | xyz(9.1633, 4.4734, 43.0196) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.48
True Blue
#010FCC
ΔE00 3.21
Ultramarine
#2000B1
ΔE00 3.58
Cobalt Blue
#030AA7
ΔE00 3.74
Mediumblue
#0000CD
ΔE00 3.87
Royal Blue (survey)
#0504AA
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1EB3 #B2B31E
analogous
#1E67B3 #1F1EB3 #691EB3
triadic
#1F1EB3 #B31F1E #1EB31F
tetradic
#1F1EB3 #B31E67 #B2B31E #1EB369
square
#1F1EB3 #B31E67 #B2B31E #1EB369
split-complementary
#1F1EB3 #B3691E #67B31E
monochromatic
#0D0C4A #16157F #1F1EB3 #3332DD #6766E5
Accessibility & contrast
On white
11.08
#1F1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F1EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1EB3
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1EB3 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f1eb3; /* rgb */ color: rgb(31, 30, 179); /* oklch */ color: oklch(37.8% 0.219 269.5);
Tailwind
colors: {
custom: {
50: '#795fcb',
500: '#1f1eb3',
950: '#000000',
},
}SCSS
$custom: #1f1eb3; $custom-light: #795fcb; $custom-dark: #000000;
JSON
{
"hex": "#1f1eb3",
"rgb": {
"r": 31,
"g": 30,
"b": 179
},
"hsl": {
"h": 240.403,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.37763,
"c": 0.21933,
"h": 269.5
},
"luminance": 0.04475
}Semantic roles & 50–950 ramp
primary
#1F1EB3
secondary
#CACB62
accent
#EE3AED
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982