#2878B3#2878B3
#2878B3 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.119 H 245.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2878B3 |
|---|---|
| RGB | rgb(40, 120, 179) |
| HSL | hsl(205, 63%, 43%) |
| HSV | hsv(205, 78%, 70%) |
| CMYK | cmyk(77.7%, 33%, 0%, 29.8%) |
| CIE-LAB | lab(48.43, -3.24, -38.02) |
| CIE-LCH | lch(48.43, 38.15, 265.13°) |
| OKLab | oklab(55.32% -0.0502 -0.1079) |
| OKLCH | oklch(55.32% 0.119 245.1) |
| XYZ | xyz(15.7251, 17.1369, 45.1181) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.95
Nice Blue
#107AB0
ΔE00 2.71
Flat Blue
#3C73A8
ΔE00 3.10
Windows Blue
#3778BF
ΔE00 3.30
Muted Blue
#3B719F
ΔE00 3.63
Dull Blue
#49759C
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2878B3 #B36328
analogous
#28B3A8 #2878B3 #2832B3
triadic
#2878B3 #B32878 #78B328
tetradic
#2878B3 #A828B3 #B36328 #32B328
square
#2878B3 #A828B3 #B36328 #32B328
split-complementary
#2878B3 #B32832 #B3A828
monochromatic
#12354F #1D5681 #2878B3 #4397D5 #75B3E0
Accessibility & contrast
On white
4.74
#2878B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#2878B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2878B3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2878B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2878B3 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2878b3; /* rgb */ color: rgb(40, 120, 179); /* oklch */ color: oklch(55.3% 0.119 245.1);
Tailwind
colors: {
custom: {
50: '#779eca',
500: '#2878b3',
950: '#000000',
},
}SCSS
$custom: #2878b3; $custom-light: #779eca; $custom-dark: #000000;
JSON
{
"hex": "#2878b3",
"rgb": {
"r": 40,
"g": 120,
"b": 179
},
"hsl": {
"h": 205.468,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.55322,
"c": 0.11905,
"h": 245.1
},
"luminance": 0.17139
}Semantic roles & 50–950 ramp
primary
#2878B3
secondary
#C8956F
accent
#8741E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82