#2154CA#2154CA
#2154CA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.192 H 263.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2154CA |
|---|---|
| RGB | rgb(33, 84, 202) |
| HSL | hsl(222, 72%, 46%) |
| HSV | hsv(222, 84%, 79%) |
| CMYK | cmyk(83.7%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(39.46, 27.85, -65.77) |
| CIE-LCH | lch(39.46, 71.43, 292.95°) |
| OKLab | oklab(48.82% -0.0222 -0.1902) |
| OKLCH | oklch(48.82% 0.192 263.3) |
| XYZ | xyz(14.4544, 10.9265, 57.2129) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.78
Azul
#1D5DEC
ΔE00 5.12
Warm Blue
#4B57DB
ΔE00 5.40
Denim
#1560BD
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2154CA #CA9721
analogous
#21A8CA #2154CA #4221CA
triadic
#2154CA #CA2154 #54CA21
tetradic
#2154CA #CA21A8 #CA9721 #21CA42
square
#2154CA #CA21A8 #CA9721 #21CA42
split-complementary
#2154CA #CA4221 #A8CA21
monochromatic
#102861 #183E95 #2154CA #4776E1 #7C9DEA
Accessibility & contrast
On white
6.59
#2154CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2154CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2154CA
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2154CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2154CA | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2154ca; /* rgb */ color: rgb(33, 84, 202); /* oklch */ color: oklch(48.8% 0.192 263.3);
Tailwind
colors: {
custom: {
50: '#7b83db',
500: '#2154ca',
950: '#000000',
},
}SCSS
$custom: #2154ca; $custom-light: #7b83db; $custom-dark: #000000;
JSON
{
"hex": "#2154ca",
"rgb": {
"r": 33,
"g": 84,
"b": 202
},
"hsl": {
"h": 221.893,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.48816,
"c": 0.19151,
"h": 263.3
},
"luminance": 0.10928
}Semantic roles & 50–950 ramp
primary
#2154CA
secondary
#D2B675
accent
#B839EF
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83