#4F81D2#4F81D2
#4F81D2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.135 H 259.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81D2 |
|---|---|
| RGB | rgb(79, 129, 210) |
| HSL | hsl(217, 59%, 57%) |
| HSV | hsv(217, 62%, 82%) |
| CMYK | cmyk(62.4%, 38.6%, 0%, 17.6%) |
| CIE-LAB | lab(54.04, 8.33, -46.78) |
| CIE-LCH | lch(54.04, 47.52, 280.10°) |
| OKLab | oklab(60.62% -0.0244 -0.133) |
| OKLCH | oklch(60.62% 0.135 259.6) |
| XYZ | xyz(22.7035, 22.0138, 64.0129) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 4.14
Azure
#007FFF
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 4.56
Cool Blue
#4984B8
ΔE00 4.58
Off Blue
#5684AE
ΔE00 4.66
Faded Blue
#658CBB
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81D2 #D2A04F
analogous
#4FC3D2 #4F81D2 #5F4FD2
triadic
#4F81D2 #D24F81 #81D24F
tetradic
#4F81D2 #D24FC3 #D2A04F #4FD25F
square
#4F81D2 #D24FC3 #D2A04F #4FD25F
split-complementary
#4F81D2 #D25F4F #C3D24F
monochromatic
#224885 #2E62B5 #4F81D2 #80A4DE #B0C7EB
Accessibility & contrast
On white
3.89
#4F81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#4F81D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81D2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81D2 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#4B7CD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4f81d2; /* rgb */ color: rgb(79, 129, 210); /* oklch */ color: oklch(60.6% 0.135 259.6);
Tailwind
colors: {
custom: {
50: '#8ca5e0',
500: '#4f81d2',
950: '#000000',
},
}SCSS
$custom: #4f81d2; $custom-light: #8ca5e0; $custom-dark: #000000;
JSON
{
"hex": "#4f81d2",
"rgb": {
"r": 79,
"g": 129,
"b": 210
},
"hsl": {
"h": 217.099,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.60623,
"c": 0.13517,
"h": 259.6
},
"luminance": 0.22016
}Semantic roles & 50–950 ramp
primary
#4F81D2
secondary
#D9C5A4
accent
#A645E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83