#1F437E#1F437E
#1F437E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.108 H 259.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F437E |
|---|---|
| RGB | rgb(31, 67, 126) |
| HSL | hsl(217, 61%, 31%) |
| HSV | hsv(217, 75%, 49%) |
| CMYK | cmyk(75.4%, 46.8%, 0%, 50.6%) |
| CIE-LAB | lab(28.93, 9.07, -37.20) |
| CIE-LCH | lch(28.93, 38.29, 283.71°) |
| OKLab | oklab(39.02% -0.0192 -0.1066) |
| OKLCH | oklch(39.02% 0.108 259.8) |
| XYZ | xyz(6.3368, 5.8113, 20.5223) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.16
Twilight Blue
#0A437A
ΔE00 2.55
Cobalt (survey)
#1E488F
ΔE00 2.62
Prussian Blue
#004577
ΔE00 4.16
Marine Blue
#01386A
ΔE00 4.51
Dusk Blue
#26538D
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F437E #7E5A1F
analogous
#1F727E #1F437E #2A1F7E
triadic
#1F437E #7E1F43 #437E1F
tetradic
#1F437E #7E1F72 #7E5A1F #1F7E2A
square
#1F437E #7E1F72 #7E5A1F #1F7E2A
split-complementary
#1F437E #7E2A1F #727E1F
monochromatic
#070F1C #13294D #1F437E #2B5DAF #467BD1
Accessibility & contrast
On white
9.71
#1F437E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1F437E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F437E
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F437E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F437E | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f437e; /* rgb */ color: rgb(31, 67, 126); /* oklch */ color: oklch(39.0% 0.108 259.8);
Tailwind
colors: {
custom: {
50: '#6876a4',
500: '#1f437e',
950: '#000000',
},
}SCSS
$custom: #1f437e; $custom-light: #6876a4; $custom-dark: #000000;
JSON
{
"hex": "#1f437e",
"rgb": {
"r": 31,
"g": 67,
"b": 126
},
"hsl": {
"h": 217.263,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39016,
"c": 0.10827,
"h": 259.8
},
"luminance": 0.05812
}Semantic roles & 50–950 ramp
primary
#1F437E
secondary
#B18948
accent
#A744E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F