#204AA7#204AA7
#204AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.157 H 263.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #204AA7 |
|---|---|
| RGB | rgb(32, 74, 167) |
| HSL | hsl(221, 68%, 39%) |
| HSV | hsv(221, 81%, 65%) |
| CMYK | cmyk(80.8%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(33.97, 20.79, -54.12) |
| CIE-LCH | lch(33.97, 57.98, 291.02°) |
| OKLab | oklab(43.81% -0.0188 -0.1562) |
| OKLCH | oklch(43.81% 0.157 263.1) |
| XYZ | xyz(10.0170, 7.9935, 37.5667) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.55
Cobalt (survey)
#1E488F
ΔE00 3.46
Sapphire
#0F52BA
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#204AA7 #A77D20
analogous
#208EA7 #204AA7 #3920A7
triadic
#204AA7 #A7204A #4AA720
tetradic
#204AA7 #A7208E #A77D20 #20A739
square
#204AA7 #A7208E #A77D20 #20A739
split-complementary
#204AA7 #A73920 #8EA720
monochromatic
#0C1C40 #163374 #204AA7 #2D62D7 #6189E1
Accessibility & contrast
On white
8.08
#204AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#204AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #204AA7
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##204AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##204AA7 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #204aa7; /* rgb */ color: rgb(32, 74, 167); /* oklch */ color: oklch(43.8% 0.157 263.1);
Tailwind
colors: {
custom: {
50: '#727bc2',
500: '#204aa7',
950: '#000000',
},
}SCSS
$custom: #204aa7; $custom-light: #727bc2; $custom-dark: #000000;
JSON
{
"hex": "#204aa7",
"rgb": {
"r": 32,
"g": 74,
"b": 167
},
"hsl": {
"h": 221.333,
"s": 67.839,
"l": 39.02
},
"oklch": {
"l": 0.43813,
"c": 0.15731,
"h": 263.1
},
"luminance": 0.07995
}Semantic roles & 50–950 ramp
primary
#204AA7
secondary
#C5A55D
accent
#B53DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81