#1F437F#1F437F
#1F437F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.110 H 260.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F437F |
|---|---|
| RGB | rgb(31, 67, 127) |
| HSL | hsl(218, 61%, 31%) |
| HSV | hsv(218, 76%, 50%) |
| CMYK | cmyk(75.6%, 47.2%, 0%, 50.2%) |
| CIE-LAB | lab(29.00, 9.48, -37.72) |
| CIE-LCH | lch(29.00, 38.89, 284.10°) |
| OKLab | oklab(39.09% -0.019 -0.1081) |
| OKLCH | oklch(39.09% 0.11 260) |
| XYZ | xyz(6.4016, 5.8372, 20.8639) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.17
Cobalt (survey)
#1E488F
ΔE00 2.52
Twilight Blue
#0A437A
ΔE00 2.64
Prussian Blue
#004577
ΔE00 4.25
Marine Blue
#01386A
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F437F #7F5B1F
analogous
#1F737F #1F437F #2B1F7F
triadic
#1F437F #7F1F43 #437F1F
tetradic
#1F437F #7F1F73 #7F5B1F #1F7F2B
square
#1F437F #7F1F73 #7F5B1F #1F7F2B
split-complementary
#1F437F #7F2B1F #737F1F
monochromatic
#070F1D #13294E #1F437F #2B5DB0 #467BD2
Accessibility & contrast
On white
9.69
#1F437F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1F437F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F437F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F437F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F437F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#0F407E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f437f; /* rgb */ color: rgb(31, 67, 127); /* oklch */ color: oklch(39.1% 0.110 260.0);
Tailwind
colors: {
custom: {
50: '#6976a4',
500: '#1f437f',
950: '#000000',
},
}SCSS
$custom: #1f437f; $custom-light: #6976a4; $custom-dark: #000000;
JSON
{
"hex": "#1f437f",
"rgb": {
"r": 31,
"g": 67,
"b": 127
},
"hsl": {
"h": 217.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.39089,
"c": 0.10975,
"h": 260
},
"luminance": 0.05838
}Semantic roles & 50–950 ramp
primary
#1F437F
secondary
#B28A48
accent
#A844E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F