#1F319C#1F319C
#1F319C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.173 H 268.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F319C |
|---|---|
| RGB | rgb(31, 49, 156) |
| HSL | hsl(231, 67%, 37%) |
| HSV | hsv(231, 80%, 61%) |
| CMYK | cmyk(80.1%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.41, 33.18, -59.83) |
| CIE-LCH | lch(26.41, 68.42, 299.02°) |
| OKLab | oklab(37.89% -0.0044 -0.1732) |
| OKLCH | oklch(37.89% 0.173 268.5) |
| XYZ | xyz(7.6621, 4.8874, 31.9856) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Blueberry
#464196
ΔE00 6.35
Royal
#0C1793
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.04
Indigo Blue
#3A18B1
ΔE00 7.25
Blue Blue
#2242C7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F319C #9C8A1F
analogous
#1F709C #1F319C #4C1F9C
triadic
#1F319C #9C1F31 #319C1F
tetradic
#1F319C #9C1F70 #9C8A1F #1F9C4C
square
#1F319C #9C1F70 #9C8A1F #1F9C4C
split-complementary
#1F319C #9C4C1F #709C1F
monochromatic
#0B1136 #152169 #1F319C #2941CF #586BDE
Accessibility & contrast
On white
10.62
#1F319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F319C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F319C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f319c; /* rgb */ color: rgb(31, 49, 156); /* oklch */ color: oklch(37.9% 0.173 268.5);
Tailwind
colors: {
custom: {
50: '#7169ba',
500: '#1f319c',
950: '#000000',
},
}SCSS
$custom: #1f319c; $custom-light: #7169ba; $custom-dark: #000000;
JSON
{
"hex": "#1f319c",
"rgb": {
"r": 31,
"g": 49,
"b": 156
},
"hsl": {
"h": 231.36,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.3789,
"c": 0.17331,
"h": 268.5
},
"luminance": 0.04888
}Semantic roles & 50–950 ramp
primary
#1F319C
secondary
#C1B255
accent
#D13EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81