#204FCA#204FCA
#204FCA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.198 H 264.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #204FCA |
|---|---|
| RGB | rgb(32, 79, 202) |
| HSL | hsl(223, 73%, 46%) |
| HSV | hsv(223, 84%, 79%) |
| CMYK | cmyk(84.2%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(38.13, 31.04, -67.94) |
| CIE-LCH | lch(38.13, 74.70, 294.55°) |
| OKLab | oklab(47.82% -0.0201 -0.1967) |
| OKLCH | oklch(47.82% 0.198 264.2) |
| XYZ | xyz(14.0485, 10.1616, 57.0866) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 4.09
Blue (survey)
#0343DF
ΔE00 4.36
Cobalt
#0047AB
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.51
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#204FCA #CA9B20
analogous
#20A4CA #204FCA #4620CA
triadic
#204FCA #CA204F #4FCA20
tetradic
#204FCA #CA20A4 #CA9B20 #20CA46
square
#204FCA #CA20A4 #CA9B20 #20CA46
split-complementary
#204FCA #CA4620 #A4CA20
monochromatic
#0F2660 #183A95 #204FCA #4671E2 #7A99EA
Accessibility & contrast
On white
6.92
#204FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#204FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #204FCA
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##204FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##204FCA | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #204fca; /* rgb */ color: rgb(32, 79, 202); /* oklch */ color: oklch(47.8% 0.198 264.2);
Tailwind
colors: {
custom: {
50: '#7b7fdb',
500: '#204fca',
950: '#000000',
},
}SCSS
$custom: #204fca; $custom-light: #7b7fdb; $custom-dark: #000000;
JSON
{
"hex": "#204fca",
"rgb": {
"r": 32,
"g": 79,
"b": 202
},
"hsl": {
"h": 223.412,
"s": 72.65,
"l": 45.882
},
"oklch": {
"l": 0.47817,
"c": 0.19768,
"h": 264.2
},
"luminance": 0.10163
}Semantic roles & 50–950 ramp
primary
#204FCA
secondary
#D2B874
accent
#BD38EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83