#2051CA#2051CA
#2051CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.195 H 263.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2051CA |
|---|---|
| RGB | rgb(32, 81, 202) |
| HSL | hsl(223, 73%, 46%) |
| HSV | hsv(223, 84%, 79%) |
| CMYK | cmyk(84.2%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(38.65, 29.74, -67.10) |
| CIE-LCH | lch(38.65, 73.39, 293.90°) |
| OKLab | oklab(48.2% -0.0211 -0.1942) |
| OKLCH | oklch(48.2% 0.195 263.8) |
| XYZ | xyz(14.1950, 10.4544, 57.1354) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.97
Blue Blue
#2242C7
ΔE00 4.76
Blue (survey)
#0343DF
ΔE00 4.92
Cobalt
#0047AB
ΔE00 5.37
Warm Blue
#4B57DB
ΔE00 5.43
Azul
#1D5DEC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2051CA #CA9920
analogous
#20A6CA #2051CA #4420CA
triadic
#2051CA #CA2051 #51CA20
tetradic
#2051CA #CA20A6 #CA9920 #20CA44
square
#2051CA #CA20A6 #CA9920 #20CA44
split-complementary
#2051CA #CA4420 #A6CA20
monochromatic
#0F2760 #183C95 #2051CA #4673E2 #7A9BEA
Accessibility & contrast
On white
6.79
#2051CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2051CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2051CA
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2051CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2051CA | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2051ca; /* rgb */ color: rgb(32, 81, 202); /* oklch */ color: oklch(48.2% 0.195 263.8);
Tailwind
colors: {
custom: {
50: '#7b81db',
500: '#2051ca',
950: '#000000',
},
}SCSS
$custom: #2051ca; $custom-light: #7b81db; $custom-dark: #000000;
JSON
{
"hex": "#2051ca",
"rgb": {
"r": 32,
"g": 81,
"b": 202
},
"hsl": {
"h": 222.706,
"s": 72.65,
"l": 45.882
},
"oklch": {
"l": 0.48201,
"c": 0.19532,
"h": 263.8
},
"luminance": 0.10456
}Semantic roles & 50–950 ramp
primary
#2051CA
secondary
#D2B774
accent
#BB38EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83