#1F4F97#1F4F97
#1F4F97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.129 H 258.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F97 |
|---|---|
| RGB | rgb(31, 79, 151) |
| HSL | hsl(216, 66%, 36%) |
| HSV | hsv(216, 79%, 59%) |
| CMYK | cmyk(79.5%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.22, 10.95, -44.08) |
| CIE-LCH | lch(34.22, 45.42, 283.95°) |
| OKLab | oklab(43.63% -0.0253 -0.1265) |
| OKLCH | oklch(43.63% 0.129 258.7) |
| XYZ | xyz(8.9449, 8.1166, 30.3674) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.99
Cobalt (survey)
#1E488F
ΔE00 2.47
Light Navy
#155084
ΔE00 3.66
Cobalt
#0047AB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.41
Light Navy Blue
#2E5A88
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F97 #97671F
analogous
#1F8B97 #1F4F97 #2B1F97
triadic
#1F4F97 #971F4F #4F971F
tetradic
#1F4F97 #971F8B #97671F #1F972B
square
#1F4F97 #971F8B #97671F #1F972B
split-complementary
#1F4F97 #972B1F #8B971F
monochromatic
#0A1A31 #153464 #1F4F97 #296ACA #548BDC
Accessibility & contrast
On white
8.00
#1F4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1F4F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F97
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F97 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#064B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4f97; /* rgb */ color: rgb(31, 79, 151); /* oklch */ color: oklch(43.6% 0.129 258.7);
Tailwind
colors: {
custom: {
50: '#6e7fb6',
500: '#1f4f97',
950: '#000000',
},
}SCSS
$custom: #1f4f97; $custom-light: #6e7fb6; $custom-dark: #000000;
JSON
{
"hex": "#1f4f97",
"rgb": {
"r": 31,
"g": 79,
"b": 151
},
"hsl": {
"h": 216,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.43632,
"c": 0.12906,
"h": 258.7
},
"luminance": 0.08118
}Semantic roles & 50–950 ramp
primary
#1F4F97
secondary
#BF9452
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80