#1F149F#1F149F
#1F149F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.203 H 271.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F149F |
|---|---|
| RGB | rgb(31, 20, 159) |
| HSL | hsl(245, 78%, 35%) |
| HSV | hsv(245, 87%, 62%) |
| CMYK | cmyk(80.5%, 87.4%, 0%, 37.6%) |
| CIE-LAB | lab(21.18, 50.01, -70.31) |
| CIE-LCH | lch(21.18, 86.28, 305.42°) |
| OKLab | oklab(34.29% 0.0046 -0.2033) |
| OKLCH | oklch(34.29% 0.203 271.3) |
| XYZ | xyz(7.0711, 3.2940, 33.0573) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.77
Royal
#0C1793
ΔE00 2.22
Royal Blue (survey)
#0504AA
ΔE00 2.25
Ultramarine
#2000B1
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 3.77
Darkblue
#00008B
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F149F #949F14
analogous
#144F9F #1F149F #64149F
triadic
#1F149F #9F1F14 #149F1F
tetradic
#1F149F #9F144F #949F14 #149F64
square
#1F149F #9F144F #949F14 #149F64
split-complementary
#1F149F #9F6414 #4F9F14
monochromatic
#0A0632 #140D69 #1F149F #2A1BD5 #5346E8
Accessibility & contrast
On white
12.66
#1F149F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1F149F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F149F
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F149F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F149F | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f149f; /* rgb */ color: rgb(31, 20, 159); /* oklch */ color: oklch(34.3% 0.203 271.3);
Tailwind
colors: {
custom: {
50: '#7558bd',
500: '#1f149f',
950: '#000000',
},
}SCSS
$custom: #1f149f; $custom-light: #7558bd; $custom-dark: #000000;
JSON
{
"hex": "#1f149f",
"rgb": {
"r": 31,
"g": 20,
"b": 159
},
"hsl": {
"h": 244.748,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.34293,
"c": 0.2034,
"h": 271.3
},
"luminance": 0.03295
}Semantic roles & 50–950 ramp
primary
#1F149F
secondary
#BEC846
accent
#F434E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981