#4F7ECB#4F7ECB
#4F7ECB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.129 H 259.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7ECB |
|---|---|
| RGB | rgb(79, 126, 203) |
| HSL | hsl(217, 54%, 55%) |
| HSV | hsv(217, 61%, 80%) |
| CMYK | cmyk(61.1%, 37.9%, 0%, 20.4%) |
| CIE-LAB | lab(52.83, 7.77, -44.73) |
| CIE-LCH | lch(52.83, 45.40, 279.86°) |
| OKLab | oklab(59.56% -0.0228 -0.127) |
| OKLCH | oklch(59.56% 0.129 259.8) |
| XYZ | xyz(21.4610, 20.8939, 59.3903) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.28
Off Blue
#5684AE
ΔE00 4.58
Cool Blue
#4984B8
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 4.95
Steel Blue
#4682B4
ΔE00 5.04
Dodger Blue
#3E82FC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7ECB #CB9C4F
analogous
#4FBCCB #4F7ECB #5E4FCB
triadic
#4F7ECB #CB4F7E #7ECB4F
tetradic
#4F7ECB #CB4FBC #CB9C4F #4FCB5E
square
#4F7ECB #CB4FBC #CB9C4F #4FCB5E
split-complementary
#4F7ECB #CB5E4F #BCCB4F
monochromatic
#24457B #3260AA #4F7ECB #7EA1D9 #ADC3E7
Accessibility & contrast
On white
4.05
#4F7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4F7ECB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7ECB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7ECB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7ECB | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4f7ecb; /* rgb */ color: rgb(79, 126, 203); /* oklch */ color: oklch(59.6% 0.129 259.8);
Tailwind
colors: {
custom: {
50: '#8ba3db',
500: '#4f7ecb',
950: '#000000',
},
}SCSS
$custom: #4f7ecb; $custom-light: #8ba3db; $custom-dark: #000000;
JSON
{
"hex": "#4f7ecb",
"rgb": {
"r": 79,
"g": 126,
"b": 203
},
"hsl": {
"h": 217.258,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.59564,
"c": 0.12903,
"h": 259.8
},
"luminance": 0.20896
}Semantic roles & 50–950 ramp
primary
#4F7ECB
secondary
#D5C1A1
accent
#A64ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83