#20395F#20395F
#20395F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.5% C 0.074 H 258.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #20395F |
|---|---|
| RGB | rgb(32, 57, 95) |
| HSL | hsl(216, 50%, 25%) |
| HSV | hsv(216, 66%, 37%) |
| CMYK | cmyk(66.3%, 40%, 0%, 62.7%) |
| CIE-LAB | lab(23.87, 3.85, -25.50) |
| CIE-LCH | lch(23.87, 25.79, 278.59°) |
| OKLab | oklab(34.47% -0.0147 -0.0724) |
| OKLCH | oklch(34.47% 0.074 258.5) |
| XYZ | xyz(4.1236, 4.0592, 11.3904) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.54
Marine
#042E60
ΔE00 4.09
Navy Blue
#1B2A4A
ΔE00 5.48
Twilight Blue
#0A437A
ΔE00 5.58
Darkish Blue
#014182
ΔE00 5.95
Prussian Blue
#004577
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20395F #5F4620
analogous
#20595F #20395F #26205F
triadic
#20395F #5F2039 #395F20
tetradic
#20395F #5F2059 #5F4620 #205F26
square
#20395F #5F2059 #5F4620 #205F26
split-complementary
#20395F #5F2620 #595F20
monochromatic
#080E17 #111E31 #20395F #2F548D #3F70BB
Accessibility & contrast
On white
11.59
#20395F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#20395F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20395F
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20395F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20395F | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #20395f; /* rgb */ color: rgb(32, 57, 95); /* oklch */ color: oklch(34.5% 0.074 258.5);
Tailwind
colors: {
custom: {
50: '#626f8c',
500: '#20395f',
950: '#000000',
},
}SCSS
$custom: #20395f; $custom-light: #626f8c; $custom-dark: #000000;
JSON
{
"hex": "#20395f",
"rgb": {
"r": 32,
"g": 57,
"b": 95
},
"hsl": {
"h": 216.19,
"s": 49.606,
"l": 24.902
},
"oklch": {
"l": 0.34472,
"c": 0.07384,
"h": 258.5
},
"luminance": 0.0406
}Semantic roles & 50–950 ramp
primary
#20395F
secondary
#937547
accent
#A24FD9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D