#4F56CB#4F56CB
#4F56CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.178 H 275.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56CB |
|---|---|
| RGB | rgb(79, 86, 203) |
| HSL | hsl(237, 54%, 55%) |
| HSV | hsv(237, 61%, 80%) |
| CMYK | cmyk(61.1%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.20, 32.66, -61.80) |
| CIE-LCH | lch(42.20, 69.90, 297.86°) |
| OKLab | oklab(51.47% 0.0174 -0.1776) |
| OKLCH | oklch(51.47% 0.178 275.6) |
| XYZ | xyz(17.3282, 12.6283, 58.0127) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.15
Iris
#6258C4
ΔE00 3.32
Dark Periwinkle
#665FD1
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 5.15
Azul
#1D5DEC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56CB #CBC44F
analogous
#4F94CB #4F56CB #864FCB
triadic
#4F56CB #CB4F56 #56CB4F
tetradic
#4F56CB #CB4F94 #CBC44F #4FCB86
square
#4F56CB #CB4F94 #CBC44F #4FCB86
split-complementary
#4F56CB #CB864F #94CB4F
monochromatic
#24297B #3239AA #4F56CB #7E83D9 #ADB1E7
Accessibility & contrast
On white
5.96
#4F56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4F56CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56CB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56CB | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f56cb; /* rgb */ color: rgb(79, 86, 203); /* oklch */ color: oklch(51.5% 0.178 275.6);
Tailwind
colors: {
custom: {
50: '#8c85dc',
500: '#4f56cb',
950: '#000000',
},
}SCSS
$custom: #4f56cb; $custom-light: #8c85dc; $custom-dark: #000000;
JSON
{
"hex": "#4f56cb",
"rgb": {
"r": 79,
"g": 86,
"b": 203
},
"hsl": {
"h": 236.613,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.5147,
"c": 0.17844,
"h": 275.6
},
"luminance": 0.1263
}Semantic roles & 50–950 ramp
primary
#4F56CB
secondary
#D5D2A1
accent
#D54ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83