#1F4896#1F4896
#1F4896 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.136 H 261.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4896 |
|---|---|
| RGB | rgb(31, 72, 150) |
| HSL | hsl(219, 66%, 35%) |
| HSV | hsv(219, 79%, 59%) |
| CMYK | cmyk(79.3%, 52%, 0%, 41.2%) |
| CIE-LAB | lab(32.09, 15.28, -46.90) |
| CIE-LCH | lch(32.09, 49.33, 288.05°) |
| OKLab | oklab(41.98% -0.0197 -0.135) |
| OKLCH | oklch(41.98% 0.136 261.7) |
| XYZ | xyz(8.3855, 7.1271, 29.7820) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.09
Cobalt
#0047AB
ΔE00 2.85
Darkish Blue
#014182
ΔE00 3.97
Dusk Blue
#26538D
ΔE00 4.26
Twilight Blue
#0A437A
ΔE00 4.72
Light Navy
#155084
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4896 #966D1F
analogous
#1F8396 #1F4896 #321F96
triadic
#1F4896 #961F48 #48961F
tetradic
#1F4896 #961F83 #966D1F #1F9632
square
#1F4896 #961F83 #966D1F #1F9632
split-complementary
#1F4896 #96321F #83961F
monochromatic
#0A1731 #153063 #1F4896 #2960C9 #5483DC
Accessibility & contrast
On white
8.66
#1F4896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F4896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4896
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4896 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4896; /* rgb */ color: rgb(31, 72, 150); /* oklch */ color: oklch(42.0% 0.136 261.7);
Tailwind
colors: {
custom: {
50: '#6e7ab5',
500: '#1f4896',
950: '#000000',
},
}SCSS
$custom: #1f4896; $custom-light: #6e7ab5; $custom-dark: #000000;
JSON
{
"hex": "#1f4896",
"rgb": {
"r": 31,
"g": 72,
"b": 150
},
"hsl": {
"h": 219.328,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41977,
"c": 0.13645,
"h": 261.7
},
"luminance": 0.07128
}Semantic roles & 50–950 ramp
primary
#1F4896
secondary
#BF9952
accent
#AE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80