#1F4994#1F4994
#1F4994 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.132 H 260.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4994 |
|---|---|
| RGB | rgb(31, 73, 148) |
| HSL | hsl(218, 65%, 35%) |
| HSV | hsv(218, 79%, 58%) |
| CMYK | cmyk(79.1%, 50.7%, 0%, 42%) |
| CIE-LAB | lab(32.24, 13.80, -45.45) |
| CIE-LCH | lch(32.24, 47.50, 286.89°) |
| OKLab | oklab(42.05% -0.0208 -0.1307) |
| OKLCH | oklch(42.05% 0.132 260.9) |
| XYZ | xyz(8.2910, 7.1936, 28.9628) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.74
Cobalt
#0047AB
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 3.78
Darkish Blue
#014182
ΔE00 3.81
Twilight Blue
#0A437A
ΔE00 4.44
Light Navy
#155084
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4994 #946A1F
analogous
#1F8394 #1F4994 #301F94
triadic
#1F4994 #941F49 #49941F
tetradic
#1F4994 #941F83 #946A1F #1F9430
square
#1F4994 #941F83 #946A1F #1F9430
split-complementary
#1F4994 #94301F #83941F
monochromatic
#0A172F #143061 #1F4994 #2A62C7 #5383DB
Accessibility & contrast
On white
8.61
#1F4994 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F4994 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4994
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4994 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4994 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5297
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4994; /* rgb */ color: rgb(31, 73, 148); /* oklch */ color: oklch(42.0% 0.132 260.9);
Tailwind
colors: {
custom: {
50: '#6d7bb4',
500: '#1f4994',
950: '#000000',
},
}SCSS
$custom: #1f4994; $custom-light: #6d7bb4; $custom-dark: #000000;
JSON
{
"hex": "#1f4994",
"rgb": {
"r": 31,
"g": 73,
"b": 148
},
"hsl": {
"h": 218.462,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.42045,
"c": 0.13235,
"h": 260.9
},
"luminance": 0.07195
}Semantic roles & 50–950 ramp
primary
#1F4994
secondary
#BE9751
accent
#AC3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80