#4E81BB#4E81BB
#4E81BB is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.105 H 252.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E81BB |
|---|---|
| RGB | rgb(78, 129, 187) |
| HSL | hsl(212, 44%, 52%) |
| HSV | hsv(212, 58%, 73%) |
| CMYK | cmyk(58.3%, 31%, 0%, 26.7%) |
| CIE-LAB | lab(52.85, 0.44, -35.59) |
| CIE-LCH | lch(52.85, 35.59, 270.70°) |
| OKLab | oklab(59.3% -0.0311 -0.1003) |
| OKLCH | oklch(59.3% 0.105 252.8) |
| XYZ | xyz(19.9586, 20.9063, 49.9876) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.23
Steel Blue
#4682B4
ΔE00 2.60
Off Blue
#5684AE
ΔE00 2.60
Dusty Blue
#5A86AD
ΔE00 3.42
Windows Blue
#3778BF
ΔE00 3.70
Faded Blue
#658CBB
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E81BB #BB884E
analogous
#4EB7BB #4E81BB #524EBB
triadic
#4E81BB #BB4E81 #81BB4E
tetradic
#4E81BB #BB4EB7 #BB884E #4EBB52
square
#4E81BB #BB4EB7 #BB884E #4EBB52
split-complementary
#4E81BB #BB524E #B7BB4E
monochromatic
#284567 #396393 #4E81BB #7AA0CC #A6C0DD
Accessibility & contrast
On white
4.05
#4E81BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4E81BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E81BB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E81BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E81BB | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5B79BA
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4e81bb; /* rgb */ color: rgb(78, 129, 187); /* oklch */ color: oklch(59.3% 0.105 252.8);
Tailwind
colors: {
custom: {
50: '#88a5cf',
500: '#4e81bb',
950: '#000000',
},
}SCSS
$custom: #4e81bb; $custom-light: #88a5cf; $custom-dark: #000000;
JSON
{
"hex": "#4e81bb",
"rgb": {
"r": 78,
"g": 129,
"b": 187
},
"hsl": {
"h": 211.927,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.59302,
"c": 0.10502,
"h": 252.8
},
"luminance": 0.20908
}Semantic roles & 50–950 ramp
primary
#4E81BB
secondary
#CAB49B
accent
#9854D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82