#4F81CF#4F81CF
#4F81CF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.4% C 0.131 H 259.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81CF |
|---|---|
| RGB | rgb(79, 129, 207) |
| HSL | hsl(217, 57%, 56%) |
| HSV | hsv(217, 62%, 81%) |
| CMYK | cmyk(61.8%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(53.88, 7.31, -45.34) |
| CIE-LCH | lch(53.88, 45.92, 279.16°) |
| OKLab | oklab(60.45% -0.0251 -0.1287) |
| OKLCH | oklch(60.45% 0.131 259) |
| XYZ | xyz(22.3332, 21.8657, 62.0630) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cool Blue
#4984B8
ΔE00 4.32
Off Blue
#5684AE
ΔE00 4.42
Dodger Blue
#3E82FC
ΔE00 4.43
Faded Blue
#658CBB
ΔE00 4.67
Azure
#007FFF
ΔE00 4.71
Clear Blue
#247AFD
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81CF #CF9D4F
analogous
#4FC1CF #4F81CF #5D4FCF
triadic
#4F81CF #CF4F81 #81CF4F
tetradic
#4F81CF #CF4FC1 #CF9D4F #4FCF5D
square
#4F81CF #CF4FC1 #CF9D4F #4FCF5D
split-complementary
#4F81CF #CF5D4F #C1CF4F
monochromatic
#234881 #3062B1 #4F81CF #7FA3DC #AFC6E9
Accessibility & contrast
On white
3.91
#4F81CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#4F81CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81CF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81CF | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4f81cf; /* rgb */ color: rgb(79, 129, 207); /* oklch */ color: oklch(60.4% 0.131 259.0);
Tailwind
colors: {
custom: {
50: '#8ba5de',
500: '#4f81cf',
950: '#000000',
},
}SCSS
$custom: #4f81cf; $custom-light: #8ba5de; $custom-dark: #000000;
JSON
{
"hex": "#4f81cf",
"rgb": {
"r": 79,
"g": 129,
"b": 207
},
"hsl": {
"h": 216.563,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.60449,
"c": 0.13114,
"h": 259
},
"luminance": 0.21868
}Semantic roles & 50–950 ramp
primary
#4F81CF
secondary
#D7C3A2
accent
#A547E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83