#2854C0#2854C0
#2854C0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.177 H 264.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2854C0 |
|---|---|
| RGB | rgb(40, 84, 192) |
| HSL | hsl(223, 66%, 45%) |
| HSV | hsv(223, 79%, 75%) |
| CMYK | cmyk(79.2%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(38.89, 24.64, -60.87) |
| CIE-LCH | lch(38.89, 65.67, 292.04°) |
| OKLab | oklab(48.21% -0.0182 -0.1757) |
| OKLCH | oklch(48.21% 0.177 264.1) |
| XYZ | xyz(13.5564, 10.5959, 51.1897) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.05
Cobalt
#0047AB
ΔE00 5.11
Denim
#1560BD
ΔE00 5.27
Blue Blue
#2242C7
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 6.07
Azul
#1D5DEC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2854C0 #C09428
analogous
#28A0C0 #2854C0 #4828C0
triadic
#2854C0 #C02854 #54C028
tetradic
#2854C0 #C028A0 #C09428 #28C048
square
#2854C0 #C028A0 #C09428 #28C048
split-complementary
#2854C0 #C04828 #A0C028
monochromatic
#13285B #1D3E8D #2854C0 #4C75DA #7E9CE4
Accessibility & contrast
On white
6.73
#2854C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2854C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2854C0
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2854C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2854C0 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2854c0; /* rgb */ color: rgb(40, 84, 192); /* oklch */ color: oklch(48.2% 0.177 264.1);
Tailwind
colors: {
custom: {
50: '#7a83d4',
500: '#2854c0',
950: '#000000',
},
}SCSS
$custom: #2854c0; $custom-light: #7a83d4; $custom-dark: #000000;
JSON
{
"hex": "#2854c0",
"rgb": {
"r": 40,
"g": 84,
"b": 192
},
"hsl": {
"h": 222.632,
"s": 65.517,
"l": 45.49
},
"oklch": {
"l": 0.48208,
"c": 0.17667,
"h": 264.1
},
"luminance": 0.10598
}Semantic roles & 50–950 ramp
primary
#2854C0
secondary
#CDB477
accent
#B83FE8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83