#1F375C#1F375C
#1F375C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.7% C 0.072 H 258.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F375C |
|---|---|
| RGB | rgb(31, 55, 92) |
| HSL | hsl(216, 50%, 24%) |
| HSV | hsv(216, 66%, 36%) |
| CMYK | cmyk(66.3%, 40.2%, 0%, 63.9%) |
| CIE-LAB | lab(22.99, 3.86, -24.94) |
| CIE-LCH | lch(22.99, 25.24, 278.80°) |
| OKLab | oklab(33.71% -0.014 -0.0708) |
| OKLCH | oklch(33.71% 0.072 258.8) |
| XYZ | xyz(3.8623, 3.7960, 10.6523) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.79
Marine Blue
#01386A
ΔE00 3.84
Navy Blue
#1B2A4A
ΔE00 4.78
Twilight Blue
#0A437A
ΔE00 6.21
Darkish Blue
#014182
ΔE00 6.56
Prussian Blue
#004577
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F375C #5C441F
analogous
#1F565C #1F375C #261F5C
triadic
#1F375C #5C1F37 #375C1F
tetradic
#1F375C #5C1F56 #5C441F #1F5C26
square
#1F375C #5C1F56 #5C441F #1F5C26
split-complementary
#1F375C #5C261F #565C1F
monochromatic
#080E17 #101C2E #1F375C #2E528A #3E6EB8
Accessibility & contrast
On white
11.94
#1F375C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F375C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F375C
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F375C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F375C | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f375c; /* rgb */ color: rgb(31, 55, 92); /* oklch */ color: oklch(33.7% 0.072 258.8);
Tailwind
colors: {
custom: {
50: '#616d8a',
500: '#1f375c',
950: '#000000',
},
}SCSS
$custom: #1f375c; $custom-light: #616d8a; $custom-dark: #000000;
JSON
{
"hex": "#1f375c",
"rgb": {
"r": 31,
"g": 55,
"b": 92
},
"hsl": {
"h": 216.393,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.33714,
"c": 0.07215,
"h": 258.8
},
"luminance": 0.03796
}Semantic roles & 50–950 ramp
primary
#1F375C
secondary
#917346
accent
#A34FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D