#4F81EA#4F81EA
#4F81EA is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.1% C 0.167 H 263.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81EA |
|---|---|
| RGB | rgb(79, 129, 234) |
| HSL | hsl(221, 79%, 61%) |
| HSV | hsv(221, 66%, 92%) |
| CMYK | cmyk(66.2%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(55.38, 16.57, -58.12) |
| CIE-LCH | lch(55.38, 60.43, 285.91°) |
| OKLab | oklab(62.09% -0.0198 -0.1662) |
| OKLCH | oklch(62.09% 0.167 263.2) |
| XYZ | xyz(25.9208, 23.3008, 80.9574) |
| Luminance | 0.2330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.09
Lightish Blue
#3D7AFD
ΔE00 2.89
Soft Blue
#6488EA
ΔE00 3.23
Clear Blue
#247AFD
ΔE00 3.37
Azure
#007FFF
ΔE00 3.93
Deep Sky Blue
#0D75F8
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81EA #EAB84F
analogous
#4FCFEA #4F81EA #6B4FEA
triadic
#4F81EA #EA4F81 #81EA4F
tetradic
#4F81EA #EA4FCF #EAB84F #4FEA6B
square
#4F81EA #EA4FCF #EAB84F #4FEA6B
split-complementary
#4F81EA #EA6B4F #CFEA4F
monochromatic
#1445AA #1B5BE1 #4F81EA #86A8F1 #BCCFF7
Accessibility & contrast
On white
3.71
#4F81EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#4F81EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81EA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81EA | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #4f81ea; /* rgb */ color: rgb(79, 129, 234); /* oklch */ color: oklch(62.1% 0.167 263.2);
Tailwind
colors: {
custom: {
50: '#90a5f1',
500: '#4f81ea',
950: '#000000',
},
}SCSS
$custom: #4f81ea; $custom-light: #90a5f1; $custom-dark: #000000;
JSON
{
"hex": "#4f81ea",
"rgb": {
"r": 79,
"g": 129,
"b": 234
},
"hsl": {
"h": 220.645,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.6209,
"c": 0.16738,
"h": 263.2
},
"luminance": 0.23303
}Semantic roles & 50–950 ramp
primary
#4F81EA
secondary
#E7D5AD
accent
#980BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85