#1F3499#1F3499
#1F3499 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.166 H 268.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3499 |
|---|---|
| RGB | rgb(31, 52, 153) |
| HSL | hsl(230, 66%, 36%) |
| HSV | hsv(230, 80%, 60%) |
| CMYK | cmyk(79.7%, 66%, 0%, 40%) |
| CIE-LAB | lab(26.87, 30.08, -57.25) |
| CIE-LCH | lch(26.87, 64.67, 297.72°) |
| OKLab | oklab(38.14% -0.0058 -0.1657) |
| OKLCH | oklch(38.14% 0.166 268) |
| XYZ | xyz(7.5408, 5.0463, 30.7074) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blueberry
#464196
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.70
Cobalt
#0047AB
ΔE00 6.89
Blue Blue
#2242C7
ΔE00 7.19
Royal
#0C1793
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3499 #99841F
analogous
#1F7199 #1F3499 #471F99
triadic
#1F3499 #991F34 #34991F
tetradic
#1F3499 #991F71 #99841F #1F9947
square
#1F3499 #991F71 #99841F #1F9947
split-complementary
#1F3499 #99471F #71991F
monochromatic
#0A1133 #152366 #1F3499 #2945CC #566DDD
Accessibility & contrast
On white
10.45
#1F3499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1F3499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3499
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3499 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f3499; /* rgb */ color: rgb(31, 52, 153); /* oklch */ color: oklch(38.1% 0.166 268.0);
Tailwind
colors: {
custom: {
50: '#706bb8',
500: '#1f3499',
950: '#000000',
},
}SCSS
$custom: #1f3499; $custom-light: #706bb8; $custom-dark: #000000;
JSON
{
"hex": "#1f3499",
"rgb": {
"r": 31,
"g": 52,
"b": 153
},
"hsl": {
"h": 229.672,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.38135,
"c": 0.16579,
"h": 268
},
"luminance": 0.05047
}Semantic roles & 50–950 ramp
primary
#1F3499
secondary
#C0AE54
accent
#CC3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80