#1F3699#1F3699
#1F3699 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.163 H 267.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3699 |
|---|---|
| RGB | rgb(31, 54, 153) |
| HSL | hsl(229, 66%, 36%) |
| HSV | hsv(229, 80%, 60%) |
| CMYK | cmyk(79.7%, 64.7%, 0%, 40%) |
| CIE-LAB | lab(27.38, 28.74, -56.41) |
| CIE-LCH | lch(27.38, 63.31, 297.00°) |
| OKLab | oklab(38.51% -0.007 -0.1632) |
| OKLCH | oklch(38.51% 0.163 267.5) |
| XYZ | xyz(7.6320, 5.2287, 30.7378) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Blueberry
#464196
ΔE00 5.70
Cobalt
#0047AB
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.64
Blue Blue
#2242C7
ΔE00 6.96
Cobalt (survey)
#1E488F
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3699 #99821F
analogous
#1F7399 #1F3699 #451F99
triadic
#1F3699 #991F36 #36991F
tetradic
#1F3699 #991F73 #99821F #1F9945
square
#1F3699 #991F73 #99821F #1F9945
split-complementary
#1F3699 #99451F #73991F
monochromatic
#0A1233 #152466 #1F3699 #2948CC #566FDD
Accessibility & contrast
On white
10.26
#1F3699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1F3699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3699
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3699 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f3699; /* rgb */ color: rgb(31, 54, 153); /* oklch */ color: oklch(38.5% 0.163 267.5);
Tailwind
colors: {
custom: {
50: '#706cb8',
500: '#1f3699',
950: '#000000',
},
}SCSS
$custom: #1f3699; $custom-light: #706cb8; $custom-dark: #000000;
JSON
{
"hex": "#1f3699",
"rgb": {
"r": 31,
"g": 54,
"b": 153
},
"hsl": {
"h": 228.689,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.38511,
"c": 0.16338,
"h": 267.5
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#1F3699
secondary
#C0AC54
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80