#4F7DCC#4F7DCC
#4F7DCC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.132 H 260.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7DCC |
|---|---|
| RGB | rgb(79, 125, 204) |
| HSL | hsl(218, 55%, 55%) |
| HSV | hsv(218, 61%, 80%) |
| CMYK | cmyk(61.3%, 38.7%, 0%, 20%) |
| CIE-LAB | lab(52.61, 8.72, -45.66) |
| CIE-LCH | lch(52.61, 46.49, 280.81°) |
| OKLab | oklab(59.4% -0.0216 -0.1297) |
| OKLCH | oklch(59.4% 0.132 260.6) |
| XYZ | xyz(21.4533, 20.6872, 59.9775) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.33
Off Blue
#5684AE
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 4.89
Cool Blue
#4984B8
ΔE00 5.00
Deep Sky Blue
#0D75F8
ΔE00 5.07
Lightish Blue
#3D7AFD
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7DCC #CC9E4F
analogous
#4FBBCC #4F7DCC #5F4FCC
triadic
#4F7DCC #CC4F7D #7DCC4F
tetradic
#4F7DCC #CC4FBB #CC9E4F #4FCC5F
square
#4F7DCC #CC4FBB #CC9E4F #4FCC5F
split-complementary
#4F7DCC #CC5F4F #BBCC4F
monochromatic
#24457D #325FAC #4F7DCC #7EA0DA #AEC3E7
Accessibility & contrast
On white
4.09
#4F7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#4F7DCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7DCC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7DCC | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4f7dcc; /* rgb */ color: rgb(79, 125, 204); /* oklch */ color: oklch(59.4% 0.132 260.6);
Tailwind
colors: {
custom: {
50: '#8ba2dc',
500: '#4f7dcc',
950: '#000000',
},
}SCSS
$custom: #4f7dcc; $custom-light: #8ba2dc; $custom-dark: #000000;
JSON
{
"hex": "#4f7dcc",
"rgb": {
"r": 79,
"g": 125,
"b": 204
},
"hsl": {
"h": 217.92,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.59405,
"c": 0.1315,
"h": 260.6
},
"luminance": 0.20689
}Semantic roles & 50–950 ramp
primary
#4F7DCC
secondary
#D5C2A1
accent
#A849DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83