#2152CA#2152CA
#2152CA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.194 H 263.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2152CA |
|---|---|
| RGB | rgb(33, 82, 202) |
| HSL | hsl(223, 72%, 46%) |
| HSV | hsv(223, 84%, 79%) |
| CMYK | cmyk(83.7%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(38.93, 29.16, -66.63) |
| CIE-LCH | lch(38.93, 72.73, 293.63°) |
| OKLab | oklab(48.43% -0.0211 -0.1928) |
| OKLCH | oklch(48.43% 0.194 263.8) |
| XYZ | xyz(14.3014, 10.6204, 57.1619) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.91
Blue Blue
#2242C7
ΔE00 5.07
Blue (survey)
#0343DF
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.36
Azul
#1D5DEC
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2152CA #CA9921
analogous
#21A6CA #2152CA #4521CA
triadic
#2152CA #CA2152 #52CA21
tetradic
#2152CA #CA21A6 #CA9921 #21CA45
square
#2152CA #CA21A6 #CA9921 #21CA45
split-complementary
#2152CA #CA4521 #A6CA21
monochromatic
#102761 #183D95 #2152CA #4774E1 #7C9CEA
Accessibility & contrast
On white
6.72
#2152CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2152CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2152CA
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2152CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2152CA | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2152ca; /* rgb */ color: rgb(33, 82, 202); /* oklch */ color: oklch(48.4% 0.194 263.8);
Tailwind
colors: {
custom: {
50: '#7b82db',
500: '#2152ca',
950: '#000000',
},
}SCSS
$custom: #2152ca; $custom-light: #7b82db; $custom-dark: #000000;
JSON
{
"hex": "#2152ca",
"rgb": {
"r": 33,
"g": 82,
"b": 202
},
"hsl": {
"h": 222.604,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.48425,
"c": 0.19391,
"h": 263.8
},
"luminance": 0.10622
}Semantic roles & 50–950 ramp
primary
#2152CA
secondary
#D2B775
accent
#BA39EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83