#1F3599#1F3599
#1F3599 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.165 H 267.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3599 |
|---|---|
| RGB | rgb(31, 53, 153) |
| HSL | hsl(229, 66%, 36%) |
| HSV | hsv(229, 80%, 60%) |
| CMYK | cmyk(79.7%, 65.4%, 0%, 40%) |
| CIE-LAB | lab(27.12, 29.41, -56.83) |
| CIE-LCH | lch(27.12, 63.99, 297.36°) |
| OKLab | oklab(38.32% -0.0064 -0.1645) |
| OKLCH | oklch(38.32% 0.165 267.8) |
| XYZ | xyz(7.5859, 5.1366, 30.7225) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blueberry
#464196
ΔE00 5.80
Cobalt
#0047AB
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.66
Blue Blue
#2242C7
ΔE00 7.07
Cobalt (survey)
#1E488F
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3599 #99831F
analogous
#1F7299 #1F3599 #461F99
triadic
#1F3599 #991F35 #35991F
tetradic
#1F3599 #991F72 #99831F #1F9946
square
#1F3599 #991F72 #99831F #1F9946
split-complementary
#1F3599 #99461F #72991F
monochromatic
#0A1233 #152366 #1F3599 #2947CC #566EDD
Accessibility & contrast
On white
10.36
#1F3599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1F3599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3599
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3599 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f3599; /* rgb */ color: rgb(31, 53, 153); /* oklch */ color: oklch(38.3% 0.165 267.8);
Tailwind
colors: {
custom: {
50: '#706cb8',
500: '#1f3599',
950: '#000000',
},
}SCSS
$custom: #1f3599; $custom-light: #706cb8; $custom-dark: #000000;
JSON
{
"hex": "#1f3599",
"rgb": {
"r": 31,
"g": 53,
"b": 153
},
"hsl": {
"h": 229.18,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.38322,
"c": 0.16458,
"h": 267.8
},
"luminance": 0.05137
}Semantic roles & 50–950 ramp
primary
#1F3599
secondary
#C0AD54
accent
#CA3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80