#4F81DF#4F81DF
#4F81DF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.153 H 261.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81DF |
|---|---|
| RGB | rgb(79, 129, 223) |
| HSL | hsl(219, 69%, 59%) |
| HSV | hsv(219, 65%, 87%) |
| CMYK | cmyk(64.6%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(54.75, 12.77, -52.98) |
| CIE-LCH | lch(54.75, 54.49, 283.56°) |
| OKLab | oklab(61.4% -0.0217 -0.1511) |
| OKLCH | oklch(61.4% 0.153 261.8) |
| XYZ | xyz(24.3893, 22.6882, 72.8917) |
| Luminance | 0.2269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.94
Lightish Blue
#3D7AFD
ΔE00 3.72
Clear Blue
#247AFD
ΔE00 3.76
Soft Blue
#6488EA
ΔE00 3.86
Azure
#007FFF
ΔE00 4.05
Deep Sky Blue
#0D75F8
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81DF #DFAD4F
analogous
#4FC9DF #4F81DF #654FDF
triadic
#4F81DF #DF4F81 #81DF4F
tetradic
#4F81DF #DF4FC9 #DFAD4F #4FDF65
square
#4F81DF #DF4FC9 #DFAD4F #4FDF65
split-complementary
#4F81DF #DF654F #C9DF4F
monochromatic
#1C4798 #255FCC #4F81DF #83A6E8 #B7CBF2
Accessibility & contrast
On white
3.79
#4F81DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#4F81DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81DF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81DF | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4f81df; /* rgb */ color: rgb(79, 129, 223); /* oklch */ color: oklch(61.4% 0.153 261.8);
Tailwind
colors: {
custom: {
50: '#8ea5e9',
500: '#4f81df',
950: '#000000',
},
}SCSS
$custom: #4f81df; $custom-light: #8ea5e9; $custom-dark: #000000;
JSON
{
"hex": "#4f81df",
"rgb": {
"r": 79,
"g": 129,
"b": 223
},
"hsl": {
"h": 219.167,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.61401,
"c": 0.15266,
"h": 261.8
},
"luminance": 0.2269
}Semantic roles & 50–950 ramp
primary
#4F81DF
secondary
#E1CEA9
accent
#AF3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84