#4F56B7#4F56B7
#4F56B7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.151 H 276.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56B7 |
|---|---|
| RGB | rgb(79, 86, 183) |
| HSL | hsl(236, 42%, 51%) |
| HSV | hsv(236, 57%, 72%) |
| CMYK | cmyk(56.8%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(40.79, 25.98, -52.43) |
| CIE-LCH | lch(40.79, 58.52, 296.36°) |
| OKLab | oklab(49.98% 0.0167 -0.15) |
| OKLCH | oklch(49.98% 0.151 276.4) |
| XYZ | xyz(15.0967, 11.7357, 46.2602) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.26
Light Indigo
#6D5ACF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56B7 #B7B04F
analogous
#4F8AB7 #4F56B7 #7C4FB7
triadic
#4F56B7 #B74F56 #56B74F
tetradic
#4F56B7 #B74F8A #B7B04F #4FB77C
square
#4F56B7 #B74F8A #B7B04F #4FB77C
split-complementary
#4F56B7 #B77C4F #8AB74F
monochromatic
#292C63 #3A408F #4F56B7 #7A80C9 #A6A9DB
Accessibility & contrast
On white
6.27
#4F56B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4F56B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56B7
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56B7 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E65BA
Deuteranopia (green-blind)
#035CB5
Tritanopia (blue-blind)
#136C7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f56b7; /* rgb */ color: rgb(79, 86, 183); /* oklch */ color: oklch(50.0% 0.151 276.4);
Tailwind
colors: {
custom: {
50: '#8985cd',
500: '#4f56b7',
950: '#000000',
},
}SCSS
$custom: #4f56b7; $custom-light: #8985cd; $custom-dark: #000000;
JSON
{
"hex": "#4f56b7",
"rgb": {
"r": 79,
"g": 86,
"b": 183
},
"hsl": {
"h": 235.962,
"s": 41.935,
"l": 51.373
},
"oklch": {
"l": 0.49976,
"c": 0.15097,
"h": 276.4
},
"luminance": 0.11737
}Semantic roles & 50–950 ramp
primary
#4F56B7
secondary
#C8C59A
accent
#C956D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82