#1F379E#1F379E
#1F379E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.169 H 267.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F379E |
|---|---|
| RGB | rgb(31, 55, 158) |
| HSL | hsl(229, 67%, 37%) |
| HSV | hsv(229, 80%, 62%) |
| CMYK | cmyk(80.4%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.09, 29.99, -58.29) |
| CIE-LCH | lch(28.09, 65.55, 297.23°) |
| OKLab | oklab(39.18% -0.0077 -0.1687) |
| OKLCH | oklch(39.18% 0.169 267.4) |
| XYZ | xyz(8.1007, 5.4914, 32.9741) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blueberry
#464196
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.81
Cobalt (survey)
#1E488F
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F379E #9E861F
analogous
#1F779E #1F379E #461F9E
triadic
#1F379E #9E1F37 #379E1F
tetradic
#1F379E #9E1F77 #9E861F #1F9E46
square
#1F379E #9E1F77 #9E861F #1F9E46
split-complementary
#1F379E #9E461F #779E1F
monochromatic
#0B1338 #15256B #1F379E #2949D1 #5972DE
Accessibility & contrast
On white
10.01
#1F379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F379E
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F379E | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f379e; /* rgb */ color: rgb(31, 55, 158); /* oklch */ color: oklch(39.2% 0.169 267.4);
Tailwind
colors: {
custom: {
50: '#716dbc',
500: '#1f379e',
950: '#000000',
},
}SCSS
$custom: #1f379e; $custom-light: #716dbc; $custom-dark: #000000;
JSON
{
"hex": "#1f379e",
"rgb": {
"r": 31,
"g": 55,
"b": 158
},
"hsl": {
"h": 228.661,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.39178,
"c": 0.16888,
"h": 267.4
},
"luminance": 0.05492
}Semantic roles & 50–950 ramp
primary
#1F379E
secondary
#C2AE56
accent
#CA3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81