#1F319D#1F319D
#1F319D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.175 H 268.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1F319D |
|---|---|
| RGB | rgb(31, 49, 157) |
| HSL | hsl(231, 67%, 37%) |
| HSV | hsv(231, 80%, 62%) |
| CMYK | cmyk(80.3%, 68.8%, 0%, 38.4%) |
| CIE-LAB | lab(26.51, 33.56, -60.28) |
| CIE-LCH | lch(26.51, 68.99, 299.11°) |
| OKLab | oklab(37.99% -0.0045 -0.1746) |
| OKLCH | oklch(37.99% 0.175 268.5) |
| XYZ | xyz(7.7471, 4.9214, 32.4334) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Blueberry
#464196
ΔE00 6.37
Royal
#0C1793
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.16
Blue Blue
#2242C7
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F319D #9D8B1F
analogous
#1F709D #1F319D #4C1F9D
triadic
#1F319D #9D1F31 #319D1F
tetradic
#1F319D #9D1F70 #9D8B1F #1F9D4C
square
#1F319D #9D1F70 #9D8B1F #1F9D4C
split-complementary
#1F319D #9D4C1F #709D1F
monochromatic
#0B1137 #15216A #1F319D #2941D0 #586BDE
Accessibility & contrast
On white
10.58
#1F319D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F319D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F319D
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F319D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F319D | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f319d; /* rgb */ color: rgb(31, 49, 157); /* oklch */ color: oklch(38.0% 0.175 268.5);
Tailwind
colors: {
custom: {
50: '#7169bb',
500: '#1f319d',
950: '#000000',
},
}SCSS
$custom: #1f319d; $custom-light: #7169bb; $custom-dark: #000000;
JSON
{
"hex": "#1f319d",
"rgb": {
"r": 31,
"g": 49,
"b": 157
},
"hsl": {
"h": 231.429,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.37991,
"c": 0.17462,
"h": 268.5
},
"luminance": 0.04922
}Semantic roles & 50–950 ramp
primary
#1F319D
secondary
#C2B256
accent
#D13EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81