#2855C0#2855C0
#2855C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.175 H 263.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2855C0 |
|---|---|
| RGB | rgb(40, 85, 192) |
| HSL | hsl(222, 66%, 45%) |
| HSV | hsv(222, 79%, 75%) |
| CMYK | cmyk(79.2%, 55.7%, 0%, 24.7%) |
| CIE-LAB | lab(39.16, 23.98, -60.44) |
| CIE-LCH | lch(39.16, 65.02, 291.64°) |
| OKLab | oklab(48.41% -0.0189 -0.1744) |
| OKLCH | oklch(48.41% 0.175 263.8) |
| XYZ | xyz(13.6346, 10.7523, 51.2158) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.06
Denim
#1560BD
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.99
Warm Blue
#4B57DB
ΔE00 6.12
Denim Blue
#3B5B92
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2855C0 #C09328
analogous
#28A1C0 #2855C0 #4728C0
triadic
#2855C0 #C02855 #55C028
tetradic
#2855C0 #C028A1 #C09328 #28C047
square
#2855C0 #C028A1 #C09328 #28C047
split-complementary
#2855C0 #C04728 #A1C028
monochromatic
#13285B #1D3F8D #2855C0 #4C76DA #7E9CE4
Accessibility & contrast
On white
6.66
#2855C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2855C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2855C0
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2855C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2855C0 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2855c0; /* rgb */ color: rgb(40, 85, 192); /* oklch */ color: oklch(48.4% 0.175 263.8);
Tailwind
colors: {
custom: {
50: '#7a84d4',
500: '#2855c0',
950: '#000000',
},
}SCSS
$custom: #2855c0; $custom-light: #7a84d4; $custom-dark: #000000;
JSON
{
"hex": "#2855c0",
"rgb": {
"r": 40,
"g": 85,
"b": 192
},
"hsl": {
"h": 222.237,
"s": 65.517,
"l": 45.49
},
"oklch": {
"l": 0.48411,
"c": 0.17545,
"h": 263.8
},
"luminance": 0.10754
}Semantic roles & 50–950 ramp
primary
#2855C0
secondary
#CDB377
accent
#B63FE8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83