#2155C2#2155C2
#2155C2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.180 H 262.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2155C2 |
|---|---|
| RGB | rgb(33, 85, 194) |
| HSL | hsl(221, 71%, 45%) |
| HSV | hsv(221, 83%, 76%) |
| CMYK | cmyk(83%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.09, 24.11, -61.72) |
| CIE-LCH | lch(39.09, 66.26, 291.34°) |
| OKLab | oklab(48.35% -0.0233 -0.1783) |
| OKLCH | oklch(48.35% 0.18 262.6) |
| XYZ | xyz(13.6098, 10.7137, 52.3791) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.82
Denim
#1560BD
ΔE00 4.67
Cobalt
#0047AB
ΔE00 5.30
Azul
#1D5DEC
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.32
Warm Blue
#4B57DB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2155C2 #C28E21
analogous
#21A6C2 #2155C2 #3E21C2
triadic
#2155C2 #C22155 #55C221
tetradic
#2155C2 #C221A6 #C28E21 #21C23E
square
#2155C2 #C221A6 #C28E21 #21C23E
split-complementary
#2155C2 #C23E21 #A6C221
monochromatic
#0F2759 #183E8E #2155C2 #4174DF #769BE8
Accessibility & contrast
On white
6.68
#2155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2155C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2155C2
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2155C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2155C2 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2155c2; /* rgb */ color: rgb(33, 85, 194); /* oklch */ color: oklch(48.3% 0.180 262.6);
Tailwind
colors: {
custom: {
50: '#7984d5',
500: '#2155c2',
950: '#000000',
},
}SCSS
$custom: #2155c2; $custom-light: #7984d5; $custom-dark: #000000;
JSON
{
"hex": "#2155c2",
"rgb": {
"r": 33,
"g": 85,
"b": 194
},
"hsl": {
"h": 220.621,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.48347,
"c": 0.17982,
"h": 262.6
},
"luminance": 0.10715
}Semantic roles & 50–950 ramp
primary
#2155C2
secondary
#CFB070
accent
#B43AEE
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83