#4E81CF#4E81CF
#4E81CF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.132 H 258.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4E81CF |
|---|---|
| RGB | rgb(78, 129, 207) |
| HSL | hsl(216, 57%, 56%) |
| HSV | hsv(216, 62%, 81%) |
| CMYK | cmyk(62.3%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(53.84, 7.13, -45.41) |
| CIE-LCH | lch(53.84, 45.97, 278.92°) |
| OKLab | oklab(60.4% -0.0259 -0.1289) |
| OKLCH | oklch(60.4% 0.132 258.6) |
| XYZ | xyz(22.2506, 21.8232, 62.0591) |
| Luminance | 0.2182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cool Blue
#4984B8
ΔE00 4.21
Off Blue
#5684AE
ΔE00 4.38
Dodger Blue
#3E82FC
ΔE00 4.43
Azure
#007FFF
ΔE00 4.63
Faded Blue
#658CBB
ΔE00 4.72
Clear Blue
#247AFD
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E81CF #CF9C4E
analogous
#4EC1CF #4E81CF #5B4ECF
triadic
#4E81CF #CF4E81 #81CF4E
tetradic
#4E81CF #CF4EC1 #CF9C4E #4ECF5B
square
#4E81CF #CF4EC1 #CF9C4E #4ECF5B
split-complementary
#4E81CF #CF5B4E #C1CF4E
monochromatic
#234880 #3062B0 #4E81CF #7EA3DC #AEC6E9
Accessibility & contrast
On white
3.91
#4E81CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#4E81CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E81CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E81CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E81CF | 1.00 | 3.91 | 5.36 | 5.36 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4e81cf; /* rgb */ color: rgb(78, 129, 207); /* oklch */ color: oklch(60.4% 0.132 258.6);
Tailwind
colors: {
custom: {
50: '#8ba5de',
500: '#4e81cf',
950: '#000000',
},
}SCSS
$custom: #4e81cf; $custom-light: #8ba5de; $custom-dark: #000000;
JSON
{
"hex": "#4e81cf",
"rgb": {
"r": 78,
"g": 129,
"b": 207
},
"hsl": {
"h": 216.279,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.60401,
"c": 0.13153,
"h": 258.6
},
"luminance": 0.21825
}Semantic roles & 50–950 ramp
primary
#4E81CF
secondary
#D7C2A2
accent
#A447E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83