#204C9A#204C9A
#204C9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.137 H 260.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #204C9A |
|---|---|
| RGB | rgb(32, 76, 154) |
| HSL | hsl(218, 66%, 36%) |
| HSV | hsv(218, 79%, 60%) |
| CMYK | cmyk(79.2%, 50.6%, 0%, 39.6%) |
| CIE-LAB | lab(33.58, 14.28, -46.93) |
| CIE-LCH | lch(33.58, 49.05, 286.93°) |
| OKLab | oklab(43.21% -0.0217 -0.135) |
| OKLCH | oklch(43.21% 0.137 260.9) |
| XYZ | xyz(9.0107, 7.8080, 31.5978) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.82
Cobalt
#0047AB
ΔE00 2.89
Dusk Blue
#26538D
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 4.31
Light Navy
#155084
ΔE00 4.73
Darkish Blue
#014182
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#204C9A #9A6E20
analogous
#20899A #204C9A #31209A
triadic
#204C9A #9A204C #4C9A20
tetradic
#204C9A #9A2089 #9A6E20 #209A31
square
#204C9A #9A2089 #9A6E20 #209A31
split-complementary
#204C9A #9A3120 #899A20
monochromatic
#0B1A35 #153367 #204C9A #2B65CD #5888DC
Accessibility & contrast
On white
8.20
#204C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#204C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #204C9A
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##204C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##204C9A | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #204c9a; /* rgb */ color: rgb(32, 76, 154); /* oklch */ color: oklch(43.2% 0.137 260.9);
Tailwind
colors: {
custom: {
50: '#6f7db8',
500: '#204c9a',
950: '#000000',
},
}SCSS
$custom: #204c9a; $custom-light: #6f7db8; $custom-dark: #000000;
JSON
{
"hex": "#204c9a",
"rgb": {
"r": 32,
"g": 76,
"b": 154
},
"hsl": {
"h": 218.361,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.43212,
"c": 0.13673,
"h": 260.9
},
"luminance": 0.07809
}Semantic roles & 50–950 ramp
primary
#204C9A
secondary
#C09A56
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80