#1F4F96#1F4F96
#1F4F96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.128 H 258.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F96 |
|---|---|
| RGB | rgb(31, 79, 150) |
| HSL | hsl(216, 66%, 35%) |
| HSV | hsv(216, 79%, 59%) |
| CMYK | cmyk(79.3%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.16, 10.55, -43.58) |
| CIE-LCH | lch(34.16, 44.84, 283.61°) |
| OKLab | oklab(43.56% -0.0255 -0.1251) |
| OKLCH | oklch(43.56% 0.128 258.5) |
| XYZ | xyz(8.8641, 8.0842, 29.9415) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.89
Cobalt (survey)
#1E488F
ΔE00 2.46
Light Navy
#155084
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.03
Light Navy Blue
#2E5A88
ΔE00 4.40
Denim Blue
#3B5B92
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F96 #96661F
analogous
#1F8A96 #1F4F96 #2A1F96
triadic
#1F4F96 #961F4F #4F961F
tetradic
#1F4F96 #961F8A #96661F #1F962A
square
#1F4F96 #961F8A #96661F #1F962A
split-complementary
#1F4F96 #962A1F #8A961F
monochromatic
#0A1A31 #153463 #1F4F96 #296AC9 #548BDC
Accessibility & contrast
On white
8.02
#1F4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1F4F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F96
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F96 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4f96; /* rgb */ color: rgb(31, 79, 150); /* oklch */ color: oklch(43.6% 0.128 258.5);
Tailwind
colors: {
custom: {
50: '#6e7fb5',
500: '#1f4f96',
950: '#000000',
},
}SCSS
$custom: #1f4f96; $custom-light: #6e7fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4f96",
"rgb": {
"r": 31,
"g": 79,
"b": 150
},
"hsl": {
"h": 215.798,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.43559,
"c": 0.12766,
"h": 258.5
},
"luminance": 0.08085
}Semantic roles & 50–950 ramp
primary
#1F4F96
secondary
#BF9352
accent
#A43FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80