#4F56BB#4F56BB
#4F56BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.157 H 276.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56BB |
|---|---|
| RGB | rgb(79, 86, 187) |
| HSL | hsl(236, 44%, 52%) |
| HSV | hsv(236, 58%, 73%) |
| CMYK | cmyk(57.8%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.06, 27.32, -54.34) |
| CIE-LCH | lch(41.06, 60.82, 296.69°) |
| OKLab | oklab(50.27% 0.017 -0.1556) |
| OKLCH | oklch(50.27% 0.157 276.2) |
| XYZ | xyz(15.5190, 11.9046, 48.4841) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 6.10
Ocean Blue
#4F42B5
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56BB #BBB44F
analogous
#4F8CBB #4F56BB #7E4FBB
triadic
#4F56BB #BB4F56 #56BB4F
tetradic
#4F56BB #BB4F8C #BBB44F #4FBB7E
square
#4F56BB #BB4F8C #BBB44F #4FBB7E
split-complementary
#4F56BB #BB7E4F #8CBB4F
monochromatic
#282C68 #393F94 #4F56BB #7B80CC #A7ABDD
Accessibility & contrast
On white
6.21
#4F56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4F56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56BB
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56BB | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#076D80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f56bb; /* rgb */ color: rgb(79, 86, 187); /* oklch */ color: oklch(50.3% 0.157 276.2);
Tailwind
colors: {
custom: {
50: '#8a85d0',
500: '#4f56bb',
950: '#000000',
},
}SCSS
$custom: #4f56bb; $custom-light: #8a85d0; $custom-dark: #000000;
JSON
{
"hex": "#4f56bb",
"rgb": {
"r": 79,
"g": 86,
"b": 187
},
"hsl": {
"h": 236.111,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.50266,
"c": 0.15656,
"h": 276.2
},
"luminance": 0.11906
}Semantic roles & 50–950 ramp
primary
#4F56BB
secondary
#CAC79B
accent
#CC54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82