#1F4790#1F4790
#1F4790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.129 H 261.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4790 |
|---|---|
| RGB | rgb(31, 71, 144) |
| HSL | hsl(219, 65%, 34%) |
| HSV | hsv(219, 78%, 56%) |
| CMYK | cmyk(78.5%, 50.7%, 0%, 43.5%) |
| CIE-LAB | lab(31.37, 13.56, -44.41) |
| CIE-LCH | lch(31.37, 46.43, 286.98°) |
| OKLab | oklab(41.29% -0.0197 -0.1277) |
| OKLCH | oklch(41.29% 0.129 261.2) |
| XYZ | xyz(7.8505, 6.8105, 27.2810) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.52
Darkish Blue
#014182
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.59
Twilight Blue
#0A437A
ΔE00 4.02
Dusk Blue
#26538D
ΔE00 4.29
Light Navy
#155084
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4790 #90681F
analogous
#1F8090 #1F4790 #301F90
triadic
#1F4790 #901F47 #47901F
tetradic
#1F4790 #901F80 #90681F #1F9030
square
#1F4790 #901F80 #90681F #1F9030
split-complementary
#1F4790 #90301F #80901F
monochromatic
#09152B #142E5E #1F4790 #2A60C2 #5081D9
Accessibility & contrast
On white
8.89
#1F4790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#1F4790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4790
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4790 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4790; /* rgb */ color: rgb(31, 71, 144); /* oklch */ color: oklch(41.3% 0.129 261.2);
Tailwind
colors: {
custom: {
50: '#6c79b1',
500: '#1f4790',
950: '#000000',
},
}SCSS
$custom: #1f4790; $custom-light: #6c79b1; $custom-dark: #000000;
JSON
{
"hex": "#1f4790",
"rgb": {
"r": 31,
"g": 71,
"b": 144
},
"hsl": {
"h": 218.761,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.41287,
"c": 0.12921,
"h": 261.2
},
"luminance": 0.06811
}Semantic roles & 50–950 ramp
primary
#1F4790
secondary
#BC954E
accent
#AC40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80