#1F379C#1F379C
#1F379C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.166 H 267.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F379C |
|---|---|
| RGB | rgb(31, 55, 156) |
| HSL | hsl(228, 67%, 37%) |
| HSV | hsv(228, 80%, 61%) |
| CMYK | cmyk(80.1%, 64.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.91, 29.22, -57.37) |
| CIE-LCH | lch(27.91, 64.39, 296.99°) |
| OKLab | oklab(38.99% -0.0077 -0.166) |
| OKLCH | oklch(38.99% 0.166 267.4) |
| XYZ | xyz(7.9299, 5.4231, 32.0749) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blueberry
#464196
ΔE00 5.64
Cobalt
#0047AB
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.73
Cobalt (survey)
#1E488F
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F379C #9C841F
analogous
#1F769C #1F379C #461F9C
triadic
#1F379C #9C1F37 #379C1F
tetradic
#1F379C #9C1F76 #9C841F #1F9C46
square
#1F379C #9C1F76 #9C841F #1F9C46
split-complementary
#1F379C #9C461F #769C1F
monochromatic
#0B1336 #152569 #1F379C #2949CF #5871DE
Accessibility & contrast
On white
10.07
#1F379C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#1F379C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F379C
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F379C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F379C | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f379c; /* rgb */ color: rgb(31, 55, 156); /* oklch */ color: oklch(39.0% 0.166 267.4);
Tailwind
colors: {
custom: {
50: '#716dba',
500: '#1f379c',
950: '#000000',
},
}SCSS
$custom: #1f379c; $custom-light: #716dba; $custom-dark: #000000;
JSON
{
"hex": "#1f379c",
"rgb": {
"r": 31,
"g": 55,
"b": 156
},
"hsl": {
"h": 228.48,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38986,
"c": 0.1662,
"h": 267.4
},
"luminance": 0.05424
}Semantic roles & 50–950 ramp
primary
#1F379C
secondary
#C1AD55
accent
#C93EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81