#1F389D#1F389D
#1F389D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.166 H 267.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F389D |
|---|---|
| RGB | rgb(31, 56, 157) |
| HSL | hsl(228, 67%, 37%) |
| HSV | hsv(228, 80%, 62%) |
| CMYK | cmyk(80.3%, 64.3%, 0%, 38.4%) |
| CIE-LAB | lab(28.26, 28.94, -57.41) |
| CIE-LCH | lch(28.26, 64.29, 296.75°) |
| OKLab | oklab(39.27% -0.0083 -0.1661) |
| OKLCH | oklch(39.27% 0.166 267.2) |
| XYZ | xyz(8.0629, 5.5530, 32.5386) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blueberry
#464196
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 6.25
Cobalt (survey)
#1E488F
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F389D #9D841F
analogous
#1F779D #1F389D #451F9D
triadic
#1F389D #9D1F38 #389D1F
tetradic
#1F389D #9D1F77 #9D841F #1F9D45
square
#1F389D #9D1F77 #9D841F #1F9D45
split-complementary
#1F389D #9D451F #779D1F
monochromatic
#0B1437 #15266A #1F389D #294AD0 #5873DE
Accessibility & contrast
On white
9.95
#1F389D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1F389D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F389D
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F389D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F389D | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f389d; /* rgb */ color: rgb(31, 56, 157); /* oklch */ color: oklch(39.3% 0.166 267.2);
Tailwind
colors: {
custom: {
50: '#716ebb',
500: '#1f389d',
950: '#000000',
},
}SCSS
$custom: #1f389d; $custom-light: #716ebb; $custom-dark: #000000;
JSON
{
"hex": "#1f389d",
"rgb": {
"r": 31,
"g": 56,
"b": 157
},
"hsl": {
"h": 228.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.39271,
"c": 0.16634,
"h": 267.2
},
"luminance": 0.05554
}Semantic roles & 50–950 ramp
primary
#1F389D
secondary
#C2AC56
accent
#C83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81