#1F4597#1F4597
#1F4597 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.142 H 263.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4597 |
|---|---|
| RGB | rgb(31, 69, 151) |
| HSL | hsl(221, 66%, 36%) |
| HSV | hsv(221, 79%, 59%) |
| CMYK | cmyk(79.5%, 54.3%, 0%, 40.8%) |
| CIE-LAB | lab(31.30, 17.73, -48.79) |
| CIE-LCH | lch(31.30, 51.92, 289.97°) |
| OKLab | oklab(41.4% -0.0173 -0.1406) |
| OKLCH | oklch(41.4% 0.142 263) |
| XYZ | xyz(8.2771, 6.7810, 30.1448) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.94
Cobalt
#0047AB
ΔE00 2.80
Darkish Blue
#014182
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 5.10
Dusk Blue
#26538D
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4597 #97711F
analogous
#1F8197 #1F4597 #351F97
triadic
#1F4597 #971F45 #45971F
tetradic
#1F4597 #971F81 #97711F #1F9735
square
#1F4597 #971F81 #97711F #1F9735
split-complementary
#1F4597 #97351F #81971F
monochromatic
#0A1731 #152E64 #1F4597 #295CCA #547FDC
Accessibility & contrast
On white
8.91
#1F4597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#1F4597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4597
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4597 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044F9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4597; /* rgb */ color: rgb(31, 69, 151); /* oklch */ color: oklch(41.4% 0.142 263.0);
Tailwind
colors: {
custom: {
50: '#6e78b6',
500: '#1f4597',
950: '#000000',
},
}SCSS
$custom: #1f4597; $custom-light: #6e78b6; $custom-dark: #000000;
JSON
{
"hex": "#1f4597",
"rgb": {
"r": 31,
"g": 69,
"b": 151
},
"hsl": {
"h": 221,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.41398,
"c": 0.14169,
"h": 263
},
"luminance": 0.06782
}Semantic roles & 50–950 ramp
primary
#1F4597
secondary
#BF9D52
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80