#1F4897#1F4897
#1F4897 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.138 H 261.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4897 |
|---|---|
| RGB | rgb(31, 72, 151) |
| HSL | hsl(220, 66%, 36%) |
| HSV | hsv(220, 79%, 59%) |
| CMYK | cmyk(79.5%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.17, 15.68, -47.40) |
| CIE-LCH | lch(32.17, 49.92, 288.31°) |
| OKLab | oklab(42.06% -0.0196 -0.1364) |
| OKLCH | oklch(42.06% 0.138 261.8) |
| XYZ | xyz(8.4663, 7.1594, 30.2079) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.24
Cobalt
#0047AB
ΔE00 2.73
Darkish Blue
#014182
ΔE00 4.08
Dusk Blue
#26538D
ΔE00 4.32
Twilight Blue
#0A437A
ΔE00 4.84
Sapphire
#0F52BA
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4897 #976E1F
analogous
#1F8497 #1F4897 #321F97
triadic
#1F4897 #971F48 #48971F
tetradic
#1F4897 #971F84 #976E1F #1F9732
square
#1F4897 #971F84 #976E1F #1F9732
split-complementary
#1F4897 #97321F #84971F
monochromatic
#0A1831 #153064 #1F4897 #2960CA #5483DC
Accessibility & contrast
On white
8.63
#1F4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4897
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4897 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4897; /* rgb */ color: rgb(31, 72, 151); /* oklch */ color: oklch(42.1% 0.138 261.8);
Tailwind
colors: {
custom: {
50: '#6e7ab6',
500: '#1f4897',
950: '#000000',
},
}SCSS
$custom: #1f4897; $custom-light: #6e7ab6; $custom-dark: #000000;
JSON
{
"hex": "#1f4897",
"rgb": {
"r": 31,
"g": 72,
"b": 151
},
"hsl": {
"h": 219.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.42055,
"c": 0.13785,
"h": 261.8
},
"luminance": 0.0716
}Semantic roles & 50–950 ramp
primary
#1F4897
secondary
#BF9A52
accent
#AF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80