#1F379D#1F379D
#1F379D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.168 H 267.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1F379D |
|---|---|
| RGB | rgb(31, 55, 157) |
| HSL | hsl(229, 67%, 37%) |
| HSV | hsv(229, 80%, 62%) |
| CMYK | cmyk(80.3%, 65%, 0%, 38.4%) |
| CIE-LAB | lab(28.00, 29.61, -57.83) |
| CIE-LCH | lch(28.00, 64.97, 297.11°) |
| OKLab | oklab(39.08% -0.0077 -0.1674) |
| OKLCH | oklch(39.08% 0.168 267.4) |
| XYZ | xyz(8.0149, 5.4571, 32.5227) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.06
Blueberry
#464196
ΔE00 5.65
Cobalt
#0047AB
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.77
Cobalt (survey)
#1E488F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F379D #9D851F
analogous
#1F769D #1F379D #461F9D
triadic
#1F379D #9D1F37 #379D1F
tetradic
#1F379D #9D1F76 #9D851F #1F9D46
square
#1F379D #9D1F76 #9D851F #1F9D46
split-complementary
#1F379D #9D461F #769D1F
monochromatic
#0B1337 #15256A #1F379D #2949D0 #5872DE
Accessibility & contrast
On white
10.04
#1F379D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#1F379D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F379D
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F379D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F379D | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f379d; /* rgb */ color: rgb(31, 55, 157); /* oklch */ color: oklch(39.1% 0.168 267.4);
Tailwind
colors: {
custom: {
50: '#716dbb',
500: '#1f379d',
950: '#000000',
},
}SCSS
$custom: #1f379d; $custom-light: #716dbb; $custom-dark: #000000;
JSON
{
"hex": "#1f379d",
"rgb": {
"r": 31,
"g": 55,
"b": 157
},
"hsl": {
"h": 228.571,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.39082,
"c": 0.16755,
"h": 267.4
},
"luminance": 0.05458
}Semantic roles & 50–950 ramp
primary
#1F379D
secondary
#C2AD56
accent
#C93EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81