#1F4697#1F4697
#1F4697 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.140 H 262.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4697 |
|---|---|
| RGB | rgb(31, 70, 151) |
| HSL | hsl(221, 66%, 36%) |
| HSV | hsv(221, 79%, 59%) |
| CMYK | cmyk(79.5%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.59, 17.05, -48.33) |
| CIE-LCH | lch(31.59, 51.25, 289.43°) |
| OKLab | oklab(41.62% -0.0181 -0.1392) |
| OKLCH | oklch(41.62% 0.14 262.6) |
| XYZ | xyz(8.3391, 6.9050, 30.1655) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Cobalt
#0047AB
ΔE00 2.73
Darkish Blue
#014182
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 4.99
Dusk Blue
#26538D
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4697 #97701F
analogous
#1F8297 #1F4697 #341F97
triadic
#1F4697 #971F46 #46971F
tetradic
#1F4697 #971F82 #97701F #1F9734
square
#1F4697 #971F82 #97701F #1F9734
split-complementary
#1F4697 #97341F #82971F
monochromatic
#0A1731 #152E64 #1F4697 #295ECA #5480DC
Accessibility & contrast
On white
8.82
#1F4697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1F4697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4697
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4697 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4697; /* rgb */ color: rgb(31, 70, 151); /* oklch */ color: oklch(41.6% 0.140 262.6);
Tailwind
colors: {
custom: {
50: '#6e78b6',
500: '#1f4697',
950: '#000000',
},
}SCSS
$custom: #1f4697; $custom-light: #6e78b6; $custom-dark: #000000;
JSON
{
"hex": "#1f4697",
"rgb": {
"r": 31,
"g": 70,
"b": 151
},
"hsl": {
"h": 220.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.41616,
"c": 0.14041,
"h": 262.6
},
"luminance": 0.06906
}Semantic roles & 50–950 ramp
primary
#1F4697
secondary
#BF9C52
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80