#1F1EA1#1F1EA1
#1F1EA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.199 H 270.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1EA1 |
|---|---|
| RGB | rgb(31, 30, 161) |
| HSL | hsl(240, 69%, 37%) |
| HSV | hsv(240, 81%, 63%) |
| CMYK | cmyk(80.7%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(22.97, 46.10, -68.56) |
| CIE-LCH | lch(22.97, 82.61, 303.91°) |
| OKLab | oklab(35.6% 0.002 -0.1985) |
| OKLCH | oklch(35.6% 0.199 270.6) |
| XYZ | xyz(7.4602, 3.7922, 34.0501) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Cobalt Blue
#030AA7
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 3.69
Ultramarine
#2000B1
ΔE00 4.03
True Blue
#010FCC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1EA1 #A0A11E
analogous
#1E5FA1 #1F1EA1 #611EA1
triadic
#1F1EA1 #A11F1E #1EA11F
tetradic
#1F1EA1 #A11E5F #A0A11E #1EA161
square
#1F1EA1 #A11E5F #A0A11E #1EA161
split-complementary
#1F1EA1 #A1611E #5FA11E
monochromatic
#0B0B3A #15146D #1F1EA1 #2928D5 #5A59E0
Accessibility & contrast
On white
11.94
#1F1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1EA1
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1EA1 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f1ea1; /* rgb */ color: rgb(31, 30, 161); /* oklch */ color: oklch(35.6% 0.199 270.6);
Tailwind
colors: {
custom: {
50: '#745dbe',
500: '#1f1ea1',
950: '#000000',
},
}SCSS
$custom: #1f1ea1; $custom-light: #745dbe; $custom-dark: #000000;
JSON
{
"hex": "#1f1ea1",
"rgb": {
"r": 31,
"g": 30,
"b": 161
},
"hsl": {
"h": 240.458,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.35599,
"c": 0.1985,
"h": 270.6
},
"luminance": 0.03793
}Semantic roles & 50–950 ramp
primary
#1F1EA1
secondary
#C3C457
accent
#EB3CEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981