#2151CA#2151CA
#2151CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.195 H 264.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2151CA |
|---|---|
| RGB | rgb(33, 81, 202) |
| HSL | hsl(223, 72%, 46%) |
| HSV | hsv(223, 84%, 79%) |
| CMYK | cmyk(83.7%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(38.67, 29.81, -67.05) |
| CIE-LCH | lch(38.67, 73.38, 293.97°) |
| OKLab | oklab(48.23% -0.0205 -0.194) |
| OKLCH | oklch(48.23% 0.195 264) |
| XYZ | xyz(14.2265, 10.4707, 57.1369) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 4.74
Blue (survey)
#0343DF
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.40
Azul
#1D5DEC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2151CA #CA9A21
analogous
#21A5CA #2151CA #4621CA
triadic
#2151CA #CA2151 #51CA21
tetradic
#2151CA #CA21A5 #CA9A21 #21CA46
square
#2151CA #CA21A5 #CA9A21 #21CA46
split-complementary
#2151CA #CA4621 #A5CA21
monochromatic
#102761 #183C95 #2151CA #4773E1 #7C9BEA
Accessibility & contrast
On white
6.79
#2151CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2151CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2151CA
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2151CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2151CA | 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)
#0054C8
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2151ca; /* rgb */ color: rgb(33, 81, 202); /* oklch */ color: oklch(48.2% 0.195 264.0);
Tailwind
colors: {
custom: {
50: '#7b81db',
500: '#2151ca',
950: '#000000',
},
}SCSS
$custom: #2151ca; $custom-light: #7b81db; $custom-dark: #000000;
JSON
{
"hex": "#2151ca",
"rgb": {
"r": 33,
"g": 81,
"b": 202
},
"hsl": {
"h": 222.959,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.48231,
"c": 0.19511,
"h": 264
},
"luminance": 0.10472
}Semantic roles & 50–950 ramp
primary
#2151CA
secondary
#D2B775
accent
#BB39EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83