#1F1CB1#1F1CB1
#1F1CB1 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.218 H 269.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1CB1 |
|---|---|
| RGB | rgb(31, 28, 177) |
| HSL | hsl(241, 73%, 40%) |
| HSV | hsv(241, 84%, 69%) |
| CMYK | cmyk(82.5%, 84.2%, 0%, 30.6%) |
| CIE-LAB | lab(24.62, 52.06, -75.48) |
| CIE-LCH | lch(24.62, 91.70, 304.59°) |
| OKLab | oklab(37.31% -0.001 -0.2185) |
| OKLCH | oklch(37.31% 0.218 269.7) |
| XYZ | xyz(8.9134, 4.2951, 41.9457) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.39
Ultramarine
#2000B1
ΔE00 3.19
True Blue
#010FCC
ΔE00 3.30
Cobalt Blue
#030AA7
ΔE00 3.30
Royal Blue (survey)
#0504AA
ΔE00 3.54
Mediumblue
#0000CD
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1CB1 #AEB11C
analogous
#1C63B1 #1F1CB1 #691CB1
triadic
#1F1CB1 #B11F1C #1CB11F
tetradic
#1F1CB1 #B11C63 #AEB11C #1CB169
square
#1F1CB1 #B11C63 #AEB11C #1CB169
split-complementary
#1F1CB1 #B1691C #63B11C
monochromatic
#0C0B47 #16147C #1F1CB1 #302CDE #6461E6
Accessibility & contrast
On white
11.30
#1F1CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F1CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1CB1
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1CB1 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B5
Deuteranopia (green-blind)
#0032AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f1cb1; /* rgb */ color: rgb(31, 28, 177); /* oklch */ color: oklch(37.3% 0.218 269.7);
Tailwind
colors: {
custom: {
50: '#795dca',
500: '#1f1cb1',
950: '#000000',
},
}SCSS
$custom: #1f1cb1; $custom-light: #795dca; $custom-dark: #000000;
JSON
{
"hex": "#1f1cb1",
"rgb": {
"r": 31,
"g": 28,
"b": 177
},
"hsl": {
"h": 241.208,
"s": 72.683,
"l": 40.196
},
"oklch": {
"l": 0.37308,
"c": 0.21848,
"h": 269.7
},
"luminance": 0.04296
}Semantic roles & 50–950 ramp
primary
#1F1CB1
secondary
#C8CB5E
accent
#EF38EC
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982