#4F81CA#4F81CA
#4F81CA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.124 H 257.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81CA |
|---|---|
| RGB | rgb(79, 129, 202) |
| HSL | hsl(216, 54%, 55%) |
| HSV | hsv(216, 61%, 79%) |
| CMYK | cmyk(60.9%, 36.1%, 0%, 20.8%) |
| CIE-LAB | lab(53.63, 5.63, -42.91) |
| CIE-LCH | lch(53.63, 43.28, 277.47°) |
| OKLab | oklab(60.17% -0.0263 -0.1216) |
| OKLCH | oklch(60.17% 0.124 257.8) |
| XYZ | xyz(21.7316, 21.6251, 58.8945) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cool Blue
#4984B8
ΔE00 3.86
Off Blue
#5684AE
ΔE00 4.02
Steel Blue
#4682B4
ΔE00 4.40
Windows Blue
#3778BF
ΔE00 4.50
Dusty Blue
#5A86AD
ΔE00 4.56
Faded Blue
#658CBB
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81CA #CA984F
analogous
#4FBECA #4F81CA #5B4FCA
triadic
#4F81CA #CA4F81 #81CA4F
tetradic
#4F81CA #CA4FBE #CA984F #4FCA5B
square
#4F81CA #CA4FBE #CA984F #4FCA5B
split-complementary
#4F81CA #CA5B4F #BECA4F
monochromatic
#25477A #3363A9 #4F81CA #7EA3D8 #ADC4E6
Accessibility & contrast
On white
3.94
#4F81CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#4F81CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81CA
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81CA | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4f81ca; /* rgb */ color: rgb(79, 129, 202); /* oklch */ color: oklch(60.2% 0.124 257.8);
Tailwind
colors: {
custom: {
50: '#8ba5da',
500: '#4f81ca',
950: '#000000',
},
}SCSS
$custom: #4f81ca; $custom-light: #8ba5da; $custom-dark: #000000;
JSON
{
"hex": "#4f81ca",
"rgb": {
"r": 79,
"g": 129,
"b": 202
},
"hsl": {
"h": 215.61,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.60165,
"c": 0.12442,
"h": 257.8
},
"luminance": 0.21627
}Semantic roles & 50–950 ramp
primary
#4F81CA
secondary
#D4BFA1
accent
#A24BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83