#1F4F99#1F4F99
#1F4F99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.132 H 259.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F99 |
|---|---|
| RGB | rgb(31, 79, 153) |
| HSL | hsl(216, 66%, 36%) |
| HSV | hsv(216, 80%, 60%) |
| CMYK | cmyk(79.7%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(34.36, 11.74, -45.07) |
| CIE-LCH | lch(34.36, 46.58, 284.61°) |
| OKLab | oklab(43.78% -0.025 -0.1295) |
| OKLCH | oklch(43.78% 0.132 259.1) |
| XYZ | xyz(9.1087, 8.1821, 31.2301) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.20
Cobalt (survey)
#1E488F
ΔE00 2.53
Cobalt
#0047AB
ΔE00 3.72
Light Navy
#155084
ΔE00 3.90
Sapphire
#0F52BA
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F99 #99691F
analogous
#1F8C99 #1F4F99 #2C1F99
triadic
#1F4F99 #991F4F #4F991F
tetradic
#1F4F99 #991F8C #99691F #1F992C
square
#1F4F99 #991F8C #99691F #1F992C
split-complementary
#1F4F99 #992C1F #8C991F
monochromatic
#0A1A33 #153566 #1F4F99 #2969CC #568BDD
Accessibility & contrast
On white
7.96
#1F4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#1F4F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F99
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F99 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4f99; /* rgb */ color: rgb(31, 79, 153); /* oklch */ color: oklch(43.8% 0.132 259.1);
Tailwind
colors: {
custom: {
50: '#6e7fb7',
500: '#1f4f99',
950: '#000000',
},
}SCSS
$custom: #1f4f99; $custom-light: #6e7fb7; $custom-dark: #000000;
JSON
{
"hex": "#1f4f99",
"rgb": {
"r": 31,
"g": 79,
"b": 153
},
"hsl": {
"h": 216.393,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.43779,
"c": 0.13186,
"h": 259.1
},
"luminance": 0.08183
}Semantic roles & 50–950 ramp
primary
#1F4F99
secondary
#C09554
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80