#1F389E#1F389E
#1F389E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.168 H 267.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F389E |
|---|---|
| RGB | rgb(31, 56, 158) |
| HSL | hsl(228, 67%, 37%) |
| HSV | hsv(228, 80%, 62%) |
| CMYK | cmyk(80.4%, 64.6%, 0%, 38%) |
| CIE-LAB | lab(28.35, 29.32, -57.87) |
| CIE-LCH | lch(28.35, 64.88, 296.87°) |
| OKLab | oklab(39.37% -0.0083 -0.1675) |
| OKLCH | oklch(39.37% 0.168 267.2) |
| XYZ | xyz(8.1486, 5.5873, 32.9901) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blueberry
#464196
ΔE00 5.59
Cobalt
#0047AB
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F389E #9E851F
analogous
#1F789E #1F389E #461F9E
triadic
#1F389E #9E1F38 #389E1F
tetradic
#1F389E #9E1F78 #9E851F #1F9E46
square
#1F389E #9E1F78 #9E851F #1F9E46
split-complementary
#1F389E #9E461F #789E1F
monochromatic
#0B1438 #15266B #1F389E #294AD1 #5973DE
Accessibility & contrast
On white
9.92
#1F389E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F389E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F389E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F389E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F389E | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f389e; /* rgb */ color: rgb(31, 56, 158); /* oklch */ color: oklch(39.4% 0.168 267.2);
Tailwind
colors: {
custom: {
50: '#716ebc',
500: '#1f389e',
950: '#000000',
},
}SCSS
$custom: #1f389e; $custom-light: #716ebc; $custom-dark: #000000;
JSON
{
"hex": "#1f389e",
"rgb": {
"r": 31,
"g": 56,
"b": 158
},
"hsl": {
"h": 228.189,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.39366,
"c": 0.16768,
"h": 267.2
},
"luminance": 0.05588
}Semantic roles & 50–950 ramp
primary
#1F389E
secondary
#C2AD56
accent
#C83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81