#4F7DCD#4F7DCD
#4F7DCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.133 H 260.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7DCD |
|---|---|
| RGB | rgb(79, 125, 205) |
| HSL | hsl(218, 56%, 56%) |
| HSV | hsv(218, 61%, 80%) |
| CMYK | cmyk(61.5%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(52.66, 9.06, -46.15) |
| CIE-LCH | lch(52.66, 47.03, 281.10°) |
| OKLab | oklab(59.46% -0.0213 -0.1311) |
| OKLCH | oklch(59.46% 0.133 260.8) |
| XYZ | xyz(21.5736, 20.7353, 60.6112) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 4.82
Off Blue
#5684AE
ΔE00 4.89
Deep Sky Blue
#0D75F8
ΔE00 5.02
Lightish Blue
#3D7AFD
ΔE00 5.02
Cool Blue
#4984B8
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7DCD #CD9F4F
analogous
#4FBCCD #4F7DCD #604FCD
triadic
#4F7DCD #CD4F7D #7DCD4F
tetradic
#4F7DCD #CD4FBC #CD9F4F #4FCD60
square
#4F7DCD #CD4FBC #CD9F4F #4FCD60
split-complementary
#4F7DCD #CD604F #BCCD4F
monochromatic
#24457E #315FAE #4F7DCD #7FA0DB #AEC3E8
Accessibility & contrast
On white
4.08
#4F7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#4F7DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7DCD
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7DCD | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4f7dcd; /* rgb */ color: rgb(79, 125, 205); /* oklch */ color: oklch(59.5% 0.133 260.8);
Tailwind
colors: {
custom: {
50: '#8ba2dc',
500: '#4f7dcd',
950: '#000000',
},
}SCSS
$custom: #4f7dcd; $custom-light: #8ba2dc; $custom-dark: #000000;
JSON
{
"hex": "#4f7dcd",
"rgb": {
"r": 79,
"g": 125,
"b": 205
},
"hsl": {
"h": 218.095,
"s": 55.752,
"l": 55.686
},
"oklch": {
"l": 0.59463,
"c": 0.13286,
"h": 260.8
},
"luminance": 0.20737
}Semantic roles & 50–950 ramp
primary
#4F7DCD
secondary
#D6C3A2
accent
#A849DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83