#1F4E96#1F4E96
#1F4E96 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.129 H 259.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E96 |
|---|---|
| RGB | rgb(31, 78, 150) |
| HSL | hsl(216, 66%, 35%) |
| HSV | hsv(216, 79%, 59%) |
| CMYK | cmyk(79.3%, 48%, 0%, 41.2%) |
| CIE-LAB | lab(33.86, 11.22, -44.06) |
| CIE-LCH | lch(33.86, 45.46, 284.29°) |
| OKLab | oklab(43.33% -0.0247 -0.1265) |
| OKLCH | oklch(43.33% 0.129 259) |
| XYZ | xyz(8.7925, 7.9411, 29.9176) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.12
Dusk Blue
#26538D
ΔE00 2.20
Light Navy
#155084
ΔE00 3.75
Cobalt
#0047AB
ΔE00 3.78
Sapphire
#0F52BA
ΔE00 4.58
Light Navy Blue
#2E5A88
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E96 #96671F
analogous
#1F8996 #1F4E96 #2C1F96
triadic
#1F4E96 #961F4E #4E961F
tetradic
#1F4E96 #961F89 #96671F #1F962C
square
#1F4E96 #961F89 #96671F #1F962C
split-complementary
#1F4E96 #962C1F #89961F
monochromatic
#0A1931 #153463 #1F4E96 #2968C9 #5489DC
Accessibility & contrast
On white
8.11
#1F4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F4E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E96
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E96 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4e96; /* rgb */ color: rgb(31, 78, 150); /* oklch */ color: oklch(43.3% 0.129 259.0);
Tailwind
colors: {
custom: {
50: '#6e7fb5',
500: '#1f4e96',
950: '#000000',
},
}SCSS
$custom: #1f4e96; $custom-light: #6e7fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4e96",
"rgb": {
"r": 31,
"g": 78,
"b": 150
},
"hsl": {
"h": 216.303,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.4333,
"c": 0.12889,
"h": 259
},
"luminance": 0.07942
}Semantic roles & 50–950 ramp
primary
#1F4E96
secondary
#BF9452
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80