#2874C5#2874C5
#2874C5 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.5% C 0.146 H 253.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2874C5 |
|---|---|
| RGB | rgb(40, 116, 197) |
| HSL | hsl(211, 66%, 46%) |
| HSV | hsv(211, 80%, 77%) |
| CMYK | cmyk(79.7%, 41.1%, 0%, 22.7%) |
| CIE-LAB | lab(48.22, 5.96, -48.73) |
| CIE-LCH | lch(48.22, 49.09, 276.97°) |
| OKLab | oklab(55.48% -0.042 -0.1394) |
| OKLCH | oklch(55.48% 0.146 253.2) |
| XYZ | xyz(17.1947, 16.9710, 55.1820) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.59
Bluish
#2976BB
ΔE00 1.76
Medium Blue
#2C6FBB
ΔE00 2.10
Flat Blue
#3C73A8
ΔE00 3.06
Mid Blue
#276AB3
ΔE00 4.04
Muted Blue
#3B719F
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2874C5 #C57928
analogous
#28C3C5 #2874C5 #2A28C5
triadic
#2874C5 #C52874 #74C528
tetradic
#2874C5 #C528C3 #C57928 #28C52A
square
#2874C5 #C528C3 #C57928 #28C52A
split-complementary
#2874C5 #C52A28 #C3C528
monochromatic
#13385F #1E5692 #2874C5 #4F93DB #82B2E6
Accessibility & contrast
On white
4.78
#2874C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#2874C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2874C5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2874C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2874C5 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7AC8
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2874c5; /* rgb */ color: rgb(40, 116, 197); /* oklch */ color: oklch(55.5% 0.146 253.2);
Tailwind
colors: {
custom: {
50: '#7a9bd7',
500: '#2874c5',
950: '#000000',
},
}SCSS
$custom: #2874c5; $custom-light: #7a9bd7; $custom-dark: #000000;
JSON
{
"hex": "#2874c5",
"rgb": {
"r": 40,
"g": 116,
"b": 197
},
"hsl": {
"h": 210.955,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55477,
"c": 0.14556,
"h": 253.2
},
"luminance": 0.16973
}Semantic roles & 50–950 ramp
primary
#2874C5
secondary
#CEA67A
accent
#973FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83