#20438F#20438F
#20438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.133 H 263.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #20438F |
|---|---|
| RGB | rgb(32, 67, 143) |
| HSL | hsl(221, 63%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(77.6%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.17, 16.03, -45.74) |
| CIE-LCH | lch(30.17, 48.47, 289.31°) |
| OKLab | oklab(40.36% -0.0158 -0.1317) |
| OKLCH | oklch(40.36% 0.133 263.1) |
| XYZ | xyz(7.5590, 6.3037, 26.7996) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.99
Darkish Blue
#014182
ΔE00 3.48
Cobalt
#0047AB
ΔE00 3.93
Twilight Blue
#0A437A
ΔE00 4.49
Dusk Blue
#26538D
ΔE00 5.74
Prussian Blue
#004577
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20438F #8F6C20
analogous
#207B8F #20438F #35208F
triadic
#20438F #8F2043 #438F20
tetradic
#20438F #8F207B #8F6C20 #208F35
square
#20438F #8F207B #8F6C20 #208F35
split-complementary
#20438F #8F3520 #7B8F20
monochromatic
#0A142B #152C5D #20438F #2B5AC1 #517CD8
Accessibility & contrast
On white
9.29
#20438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#20438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20438F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20438F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #20438f; /* rgb */ color: rgb(32, 67, 143); /* oklch */ color: oklch(40.4% 0.133 263.1);
Tailwind
colors: {
custom: {
50: '#6d76b0',
500: '#20438f',
950: '#000000',
},
}SCSS
$custom: #20438f; $custom-light: #6d76b0; $custom-dark: #000000;
JSON
{
"hex": "#20438f",
"rgb": {
"r": 32,
"g": 67,
"b": 143
},
"hsl": {
"h": 221.081,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.40355,
"c": 0.13262,
"h": 263.1
},
"luminance": 0.06305
}Semantic roles & 50–950 ramp
primary
#20438F
secondary
#BB994F
accent
#B241E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80