#1F319F#1F319F
#1F319F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.177 H 268.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F319F |
|---|---|
| RGB | rgb(31, 49, 159) |
| HSL | hsl(232, 67%, 37%) |
| HSV | hsv(232, 81%, 62%) |
| CMYK | cmyk(80.5%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.71, 34.30, -61.17) |
| CIE-LCH | lch(26.71, 70.13, 299.28°) |
| OKLab | oklab(38.19% -0.0046 -0.1772) |
| OKLCH | oklch(38.19% 0.177 268.5) |
| XYZ | xyz(7.9192, 4.9902, 33.3400) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.46
Blueberry
#464196
ΔE00 6.41
Royal
#0C1793
ΔE00 6.48
Indigo Blue
#3A18B1
ΔE00 6.98
Blue Blue
#2242C7
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F319F #9F8D1F
analogous
#1F719F #1F319F #4D1F9F
triadic
#1F319F #9F1F31 #319F1F
tetradic
#1F319F #9F1F71 #9F8D1F #1F9F4D
square
#1F319F #9F1F71 #9F8D1F #1F9F4D
split-complementary
#1F319F #9F4D1F #719F1F
monochromatic
#0B1139 #15216C #1F319F #2941D2 #5A6CDF
Accessibility & contrast
On white
10.51
#1F319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1F319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F319F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F319F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f319f; /* rgb */ color: rgb(31, 49, 159); /* oklch */ color: oklch(38.2% 0.177 268.5);
Tailwind
colors: {
custom: {
50: '#7269bc',
500: '#1f319f',
950: '#000000',
},
}SCSS
$custom: #1f319f; $custom-light: #7269bc; $custom-dark: #000000;
JSON
{
"hex": "#1f319f",
"rgb": {
"r": 31,
"g": 49,
"b": 159
},
"hsl": {
"h": 231.563,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.38194,
"c": 0.17722,
"h": 268.5
},
"luminance": 0.04991
}Semantic roles & 50–950 ramp
primary
#1F319F
secondary
#C3B457
accent
#D23EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81