#1F376C#1F376C
#1F376C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.097 H 263.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F376C |
|---|---|
| RGB | rgb(31, 55, 108) |
| HSL | hsl(221, 55%, 27%) |
| HSV | hsv(221, 71%, 42%) |
| CMYK | cmyk(71.3%, 49.1%, 0%, 57.6%) |
| CIE-LAB | lab(24.02, 10.21, -33.68) |
| CIE-LCH | lch(24.02, 35.19, 286.86°) |
| OKLab | oklab(34.85% -0.0105 -0.0964) |
| OKLCH | oklch(34.85% 0.097 263.8) |
| XYZ | xyz(4.6371, 4.1059, 14.7326) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.61
Marine Blue
#01386A
ΔE00 3.87
Darkish Blue
#014182
ΔE00 5.46
Twilight Blue
#0A437A
ΔE00 5.79
Navy Blue
#1B2A4A
ΔE00 6.60
Cobalt (survey)
#1E488F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F376C #6C541F
analogous
#1F5E6C #1F376C #2E1F6C
triadic
#1F376C #6C1F37 #376C1F
tetradic
#1F376C #6C1F5E #6C541F #1F6C2E
square
#1F376C #6C1F5E #6C541F #1F6C2E
split-complementary
#1F376C #6C2E1F #5E6C1F
monochromatic
#070C18 #111F3C #1F376C #2D4F9C #3E69C8
Accessibility & contrast
On white
11.53
#1F376C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F376C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F376C
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F376C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F376C | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f376c; /* rgb */ color: rgb(31, 55, 108); /* oklch */ color: oklch(34.8% 0.097 263.8);
Tailwind
colors: {
custom: {
50: '#656d96',
500: '#1f376c',
950: '#000000',
},
}SCSS
$custom: #1f376c; $custom-light: #656d96; $custom-dark: #000000;
JSON
{
"hex": "#1f376c",
"rgb": {
"r": 31,
"g": 55,
"b": 108
},
"hsl": {
"h": 221.299,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.34846,
"c": 0.09699,
"h": 263.8
},
"luminance": 0.04106
}Semantic roles & 50–950 ramp
primary
#1F376C
secondary
#A08447
accent
#B049DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E