#1F375A#1F375A
#1F375A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.6% C 0.069 H 257.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F375A |
|---|---|
| RGB | rgb(31, 55, 90) |
| HSL | hsl(216, 49%, 24%) |
| HSV | hsv(216, 66%, 35%) |
| CMYK | cmyk(65.6%, 38.9%, 0%, 64.7%) |
| CIE-LAB | lab(22.87, 3.08, -23.82) |
| CIE-LCH | lch(22.87, 24.01, 277.37°) |
| OKLab | oklab(33.58% -0.0146 -0.0675) |
| OKLCH | oklch(33.58% 0.069 257.8) |
| XYZ | xyz(3.7761, 3.7615, 10.1979) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.98
Marine
#042E60
ΔE00 4.03
Navy Blue
#1B2A4A
ΔE00 4.76
Twilight Blue
#0A437A
ΔE00 6.33
Darkish Blue
#014182
ΔE00 6.74
Prussian Blue
#004577
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F375A #5A421F
analogous
#1F545A #1F375A #241F5A
triadic
#1F375A #5A1F37 #375A1F
tetradic
#1F375A #5A1F54 #5A421F #1F5A24
square
#1F375A #5A1F54 #5A421F #1F5A24
split-complementary
#1F375A #5A241F #545A1F
monochromatic
#080E17 #0F1B2C #1F375A #2F5388 #3E6FB5
Accessibility & contrast
On white
11.98
#1F375A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1F375A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F375A
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F375A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F375A | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5B
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f375a; /* rgb */ color: rgb(31, 55, 90); /* oklch */ color: oklch(33.6% 0.069 257.8);
Tailwind
colors: {
custom: {
50: '#616d89',
500: '#1f375a',
950: '#000000',
},
}SCSS
$custom: #1f375a; $custom-light: #616d89; $custom-dark: #000000;
JSON
{
"hex": "#1f375a",
"rgb": {
"r": 31,
"g": 55,
"b": 90
},
"hsl": {
"h": 215.593,
"s": 48.76,
"l": 23.725
},
"oklch": {
"l": 0.33583,
"c": 0.06905,
"h": 257.8
},
"luminance": 0.03762
}Semantic roles & 50–950 ramp
primary
#1F375A
secondary
#8F7146
accent
#A14FD8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070B
muted
#797A7C