#2156C2#2156C2
#2156C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.179 H 262.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2156C2 |
|---|---|
| RGB | rgb(33, 86, 194) |
| HSL | hsl(220, 71%, 45%) |
| HSV | hsv(220, 83%, 76%) |
| CMYK | cmyk(83%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.36, 23.45, -61.28) |
| CIE-LCH | lch(39.36, 65.61, 290.94°) |
| OKLab | oklab(48.55% -0.0239 -0.177) |
| OKLCH | oklch(48.55% 0.179 262.3) |
| XYZ | xyz(13.6891, 10.8723, 52.4055) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.92
Denim
#1560BD
ΔE00 4.33
Cobalt
#0047AB
ΔE00 5.54
Azul
#1D5DEC
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 6.20
Warm Blue
#4B57DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2156C2 #C28D21
analogous
#21A7C2 #2156C2 #3C21C2
triadic
#2156C2 #C22156 #56C221
tetradic
#2156C2 #C221A7 #C28D21 #21C23C
square
#2156C2 #C221A7 #C28D21 #21C23C
split-complementary
#2156C2 #C23C21 #A7C221
monochromatic
#0F2859 #183F8E #2156C2 #4175DF #769BE8
Accessibility & contrast
On white
6.61
#2156C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2156C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2156C2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2156C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2156C2 | 1.00 | 6.61 | 3.17 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2156c2; /* rgb */ color: rgb(33, 86, 194); /* oklch */ color: oklch(48.6% 0.179 262.3);
Tailwind
colors: {
custom: {
50: '#7985d5',
500: '#2156c2',
950: '#000000',
},
}SCSS
$custom: #2156c2; $custom-light: #7985d5; $custom-dark: #000000;
JSON
{
"hex": "#2156c2",
"rgb": {
"r": 33,
"g": 86,
"b": 194
},
"hsl": {
"h": 220.248,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.48551,
"c": 0.1786,
"h": 262.3
},
"luminance": 0.10874
}Semantic roles & 50–950 ramp
primary
#2156C2
secondary
#CFB070
accent
#B33AEE
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83