#4E87B2#4E87B2
#4E87B2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.2% C 0.089 H 242.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4E87B2 |
|---|---|
| RGB | rgb(78, 135, 178) |
| HSL | hsl(206, 39%, 50%) |
| HSV | hsv(206, 56%, 70%) |
| CMYK | cmyk(56.2%, 24.2%, 0%, 30.2%) |
| CIE-LAB | lab(54.20, -5.98, -28.32) |
| CIE-LCH | lch(54.20, 28.95, 258.08°) |
| OKLab | oklab(60.23% -0.0408 -0.0793) |
| OKLCH | oklch(60.23% 0.089 242.8) |
| XYZ | xyz(19.8388, 22.1603, 45.3427) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.03
Off Blue
#5684AE
ΔE00 2.14
Dusty Blue
#5A86AD
ΔE00 2.14
Steel Blue
#4682B4
ΔE00 2.23
Water Blue
#0E87CC
ΔE00 4.55
Greyish Blue
#5E819D
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E87B2 #B2794E
analogous
#4EB2AB #4E87B2 #4E55B2
triadic
#4E87B2 #B24E87 #87B24E
tetradic
#4E87B2 #AB4EB2 #B2794E #55B24E
square
#4E87B2 #AB4EB2 #B2794E #55B24E
split-complementary
#4E87B2 #B24E55 #B2AB4E
monochromatic
#29465D #3B6788 #4E87B2 #79A4C5 #A3C1D7
Accessibility & contrast
On white
3.87
#4E87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#4E87B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E87B2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E87B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E87B2 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4e87b2; /* rgb */ color: rgb(78, 135, 178); /* oklch */ color: oklch(60.2% 0.089 242.8);
Tailwind
colors: {
custom: {
50: '#87a9c9',
500: '#4e87b2',
950: '#000000',
},
}SCSS
$custom: #4e87b2; $custom-light: #87a9c9; $custom-dark: #000000;
JSON
{
"hex": "#4e87b2",
"rgb": {
"r": 78,
"g": 135,
"b": 178
},
"hsl": {
"h": 205.8,
"s": 39.37,
"l": 50.196
},
"oklch": {
"l": 0.60232,
"c": 0.08917,
"h": 242.8
},
"luminance": 0.22162
}Semantic roles & 50–950 ramp
primary
#4E87B2
secondary
#C4AB98
accent
#8C59CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82