#20498F#20498F
#20498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.125 H 260.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #20498F |
|---|---|
| RGB | rgb(32, 73, 143) |
| HSL | hsl(218, 63%, 34%) |
| HSV | hsv(218, 78%, 56%) |
| CMYK | cmyk(77.6%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(31.93, 11.92, -42.90) |
| CIE-LCH | lch(31.93, 44.52, 285.54°) |
| OKLab | oklab(41.7% -0.0209 -0.1232) |
| OKLCH | oklch(41.7% 0.125 260.4) |
| XYZ | xyz(7.9343, 7.0544, 26.9248) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.33
Darkish Blue
#014182
ΔE00 3.40
Dusk Blue
#26538D
ΔE00 3.56
Cobalt
#0047AB
ΔE00 3.82
Twilight Blue
#0A437A
ΔE00 3.91
Light Navy
#155084
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20498F #8F6620
analogous
#20818F #20498F #2F208F
triadic
#20498F #8F2049 #498F20
tetradic
#20498F #8F2081 #8F6620 #208F2F
square
#20498F #8F2081 #8F6620 #208F2F
split-complementary
#20498F #8F2F20 #818F20
monochromatic
#0A162B #152F5D #20498F #2B63C1 #5183D8
Accessibility & contrast
On white
8.71
#20498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#20498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20498F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20498F | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #20498f; /* rgb */ color: rgb(32, 73, 143); /* oklch */ color: oklch(41.7% 0.125 260.4);
Tailwind
colors: {
custom: {
50: '#6c7bb0',
500: '#20498f',
950: '#000000',
},
}SCSS
$custom: #20498f; $custom-light: #6c7bb0; $custom-dark: #000000;
JSON
{
"hex": "#20498f",
"rgb": {
"r": 32,
"g": 73,
"b": 143
},
"hsl": {
"h": 217.838,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.41704,
"c": 0.12494,
"h": 260.4
},
"luminance": 0.07055
}Semantic roles & 50–950 ramp
primary
#20498F
secondary
#BB944F
accent
#A941E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F