#1F219D#1F219D
#1F219D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.191 H 270.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F219D |
|---|---|
| RGB | rgb(31, 33, 157) |
| HSL | hsl(239, 67%, 37%) |
| HSV | hsv(239, 80%, 62%) |
| CMYK | cmyk(80.3%, 79%, 0%, 38.4%) |
| CIE-LAB | lab(23.04, 43.21, -66.00) |
| CIE-LCH | lch(23.04, 78.89, 303.21°) |
| OKLab | oklab(35.51% 0.002 -0.1911) |
| OKLCH | oklch(35.51% 0.191 270.6) |
| XYZ | xyz(7.1927, 3.8125, 32.2486) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Cobalt Blue
#030AA7
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 4.27
Royal Blue (survey)
#0504AA
ΔE00 4.45
Ultramarine
#2000B1
ΔE00 4.88
True Blue
#010FCC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F219D #9D9B1F
analogous
#1F609D #1F219D #5C1F9D
triadic
#1F219D #9D1F21 #219D1F
tetradic
#1F219D #9D1F60 #9D9B1F #1F9D5C
square
#1F219D #9D1F60 #9D9B1F #1F9D5C
split-complementary
#1F219D #9D5C1F #609D1F
monochromatic
#0B0C37 #15166A #1F219D #292CD0 #585ADE
Accessibility & contrast
On white
11.91
#1F219D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F219D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F219D
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F219D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F219D | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f219d; /* rgb */ color: rgb(31, 33, 157); /* oklch */ color: oklch(35.5% 0.191 270.6);
Tailwind
colors: {
custom: {
50: '#735fbb',
500: '#1f219d',
950: '#000000',
},
}SCSS
$custom: #1f219d; $custom-light: #735fbb; $custom-dark: #000000;
JSON
{
"hex": "#1f219d",
"rgb": {
"r": 31,
"g": 33,
"b": 157
},
"hsl": {
"h": 239.048,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.3551,
"c": 0.19114,
"h": 270.6
},
"luminance": 0.03813
}Semantic roles & 50–950 ramp
primary
#1F219D
secondary
#C2C056
accent
#E73EEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981