#1F4A96#1F4A96
#1F4A96 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.134 H 260.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A96 |
|---|---|
| RGB | rgb(31, 74, 150) |
| HSL | hsl(218, 66%, 35%) |
| HSV | hsv(218, 79%, 59%) |
| CMYK | cmyk(79.3%, 50.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.68, 13.92, -45.96) |
| CIE-LCH | lch(32.68, 48.02, 286.85°) |
| OKLab | oklab(42.42% -0.0214 -0.1322) |
| OKLCH | oklch(42.42% 0.134 260.8) |
| XYZ | xyz(8.5169, 7.3899, 29.8258) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.07
Cobalt
#0047AB
ΔE00 3.03
Dusk Blue
#26538D
ΔE00 3.56
Darkish Blue
#014182
ΔE00 4.10
Twilight Blue
#0A437A
ΔE00 4.68
Light Navy
#155084
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A96 #966B1F
analogous
#1F8696 #1F4A96 #2F1F96
triadic
#1F4A96 #961F4A #4A961F
tetradic
#1F4A96 #961F86 #966B1F #1F962F
square
#1F4A96 #961F86 #966B1F #1F962F
split-complementary
#1F4A96 #962F1F #86961F
monochromatic
#0A1831 #153163 #1F4A96 #2963C9 #5485DC
Accessibility & contrast
On white
8.47
#1F4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1F4A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A96
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A96 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f4a96; /* rgb */ color: rgb(31, 74, 150); /* oklch */ color: oklch(42.4% 0.134 260.8);
Tailwind
colors: {
custom: {
50: '#6e7bb5',
500: '#1f4a96',
950: '#000000',
},
}SCSS
$custom: #1f4a96; $custom-light: #6e7bb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4a96",
"rgb": {
"r": 31,
"g": 74,
"b": 150
},
"hsl": {
"h": 218.319,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.42423,
"c": 0.13391,
"h": 260.8
},
"luminance": 0.07391
}Semantic roles & 50–950 ramp
primary
#1F4A96
secondary
#BF9852
accent
#AB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80