#1F4D93#1F4D93
#1F4D93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.126 H 258.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D93 |
|---|---|
| RGB | rgb(31, 77, 147) |
| HSL | hsl(216, 65%, 35%) |
| HSV | hsv(216, 79%, 58%) |
| CMYK | cmyk(78.9%, 47.6%, 0%, 42.4%) |
| CIE-LAB | lab(33.36, 10.69, -43.04) |
| CIE-LCH | lch(33.36, 44.35, 283.95°) |
| OKLab | oklab(42.88% -0.0244 -0.1235) |
| OKLCH | oklch(42.88% 0.126 258.8) |
| XYZ | xyz(8.4835, 7.7047, 28.6381) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.74
Dusk Blue
#26538D
ΔE00 2.30
Light Navy
#155084
ΔE00 3.65
Cobalt
#0047AB
ΔE00 3.90
Darkish Blue
#014182
ΔE00 4.33
Twilight Blue
#0A437A
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D93 #93651F
analogous
#1F8793 #1F4D93 #2B1F93
triadic
#1F4D93 #931F4D #4D931F
tetradic
#1F4D93 #931F87 #93651F #1F932B
square
#1F4D93 #931F87 #93651F #1F932B
split-complementary
#1F4D93 #932B1F #87931F
monochromatic
#0A182E #143360 #1F4D93 #2A67C6 #5288DA
Accessibility & contrast
On white
8.26
#1F4D93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1F4D93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D93
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D93 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#084A92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4d93; /* rgb */ color: rgb(31, 77, 147); /* oklch */ color: oklch(42.9% 0.126 258.8);
Tailwind
colors: {
custom: {
50: '#6d7eb3',
500: '#1f4d93',
950: '#000000',
},
}SCSS
$custom: #1f4d93; $custom-light: #6d7eb3; $custom-dark: #000000;
JSON
{
"hex": "#1f4d93",
"rgb": {
"r": 31,
"g": 77,
"b": 147
},
"hsl": {
"h": 216.207,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.4288,
"c": 0.12591,
"h": 258.8
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#1F4D93
secondary
#BE9250
accent
#A540E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80