#2874AB#2874AB
#2874AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.9% C 0.113 H 244.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2874AB |
|---|---|
| RGB | rgb(40, 116, 171) |
| HSL | hsl(205, 62%, 41%) |
| HSV | hsv(205, 77%, 67%) |
| CMYK | cmyk(76.6%, 32.2%, 0%, 32.9%) |
| CIE-LAB | lab(46.82, -3.79, -35.91) |
| CIE-LCH | lch(46.82, 36.11, 263.97°) |
| OKLab | oklab(53.92% -0.0488 -0.1018) |
| OKLCH | oklch(53.92% 0.113 244.4) |
| XYZ | xyz(14.4683, 15.8805, 40.8229) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.42
Flat Blue
#3C73A8
ΔE00 2.52
Bluish
#2976BB
ΔE00 2.56
Nice Blue
#107AB0
ΔE00 3.13
Dull Blue
#49759C
ΔE00 3.87
Medium Blue
#2C6FBB
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2874AB #AB5F28
analogous
#28ABA1 #2874AB #2833AB
triadic
#2874AB #AB2874 #74AB28
tetradic
#2874AB #A128AB #AB5F28 #33AB28
square
#2874AB #A128AB #AB5F28 #33AB28
split-complementary
#2874AB #AB2833 #ABA128
monochromatic
#113148 #1C5279 #2874AB #3E94D2 #70AFDE
Accessibility & contrast
On white
5.03
#2874AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2874AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2874AB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2874AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2874AB | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#486AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2874ab; /* rgb */ color: rgb(40, 116, 171); /* oklch */ color: oklch(53.9% 0.113 244.4);
Tailwind
colors: {
custom: {
50: '#759bc4',
500: '#2874ab',
950: '#000000',
},
}SCSS
$custom: #2874ab; $custom-light: #759bc4; $custom-dark: #000000;
JSON
{
"hex": "#2874ab",
"rgb": {
"r": 40,
"g": 116,
"b": 171
},
"hsl": {
"h": 205.191,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.53915,
"c": 0.11296,
"h": 244.4
},
"luminance": 0.15882
}Semantic roles & 50–950 ramp
primary
#2874AB
secondary
#C4906A
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81