#4C81EF#4C81EF
#4C81EF is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.3% C 0.175 H 263.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4C81EF |
|---|---|
| RGB | rgb(76, 129, 239) |
| HSL | hsl(220, 84%, 62%) |
| HSV | hsv(220, 68%, 94%) |
| CMYK | cmyk(68.2%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(55.55, 17.85, -60.64) |
| CIE-LCH | lch(55.55, 63.21, 286.40°) |
| OKLab | oklab(62.28% -0.0214 -0.1737) |
| OKLCH | oklch(62.28% 0.175 263) |
| XYZ | xyz(26.4052, 23.4663, 84.7825) |
| Luminance | 0.2347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.60
Lightish Blue
#3D7AFD
ΔE00 2.60
Clear Blue
#247AFD
ΔE00 3.08
Soft Blue
#6488EA
ΔE00 3.35
Azure
#007FFF
ΔE00 3.63
Deep Sky Blue
#0D75F8
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C81EF #EFBA4C
analogous
#4CD2EF #4C81EF #694CEF
triadic
#4C81EF #EF4C81 #81EF4C
tetradic
#4C81EF #EF4CD2 #EFBA4C #4CEF69
square
#4C81EF #EF4CD2 #EFBA4C #4CEF69
split-complementary
#4C81EF #EF694C #D2EF4C
monochromatic
#1044B1 #155AE9 #4C81EF #84A9F4 #BCD0F9
Accessibility & contrast
On white
3.69
#4C81EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#4C81EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C81EF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C81EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C81EF | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #4c81ef; /* rgb */ color: rgb(76, 129, 239); /* oklch */ color: oklch(62.3% 0.175 263.0);
Tailwind
colors: {
custom: {
50: '#8fa5f5',
500: '#4c81ef',
950: '#000000',
},
}SCSS
$custom: #4c81ef; $custom-light: #8fa5f5; $custom-dark: #000000;
JSON
{
"hex": "#4c81ef",
"rgb": {
"r": 76,
"g": 129,
"b": 239
},
"hsl": {
"h": 220.491,
"s": 83.59,
"l": 61.765
},
"oklch": {
"l": 0.6228,
"c": 0.17498,
"h": 263
},
"luminance": 0.23469
}Semantic roles & 50–950 ramp
primary
#4C81EF
secondary
#EAD6AD
accent
#9905E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85