#4B56CF#4B56CF
#4B56CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.185 H 274.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4B56CF |
|---|---|
| RGB | rgb(75, 86, 207) |
| HSL | hsl(235, 58%, 55%) |
| HSV | hsv(235, 64%, 81%) |
| CMYK | cmyk(63.8%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(42.24, 33.36, -64.05) |
| CIE-LCH | lch(42.24, 72.21, 297.51°) |
| OKLab | oklab(51.53% 0.0129 -0.1843) |
| OKLCH | oklch(51.53% 0.185 274) |
| XYZ | xyz(17.4882, 12.6549, 60.5404) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.63
Iris
#6258C4
ΔE00 3.97
Dark Periwinkle
#665FD1
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.40
Light Indigo
#6D5ACF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B56CF #CFC44B
analogous
#4B98CF #4B56CF #824BCF
triadic
#4B56CF #CF4B56 #56CF4B
tetradic
#4B56CF #CF4B98 #CFC44B #4BCF82
square
#4B56CF #CF4B98 #CFC44B #4BCF82
split-complementary
#4B56CF #CF824B #98CF4B
monochromatic
#22297E #2E39AE #4B56CF #7B83DC #ACB1E9
Accessibility & contrast
On white
5.95
#4B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4B56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B56CF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B56CF | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4b56cf; /* rgb */ color: rgb(75, 86, 207); /* oklch */ color: oklch(51.5% 0.185 274.0);
Tailwind
colors: {
custom: {
50: '#8b85df',
500: '#4b56cf',
950: '#000000',
},
}SCSS
$custom: #4b56cf; $custom-light: #8b85df; $custom-dark: #000000;
JSON
{
"hex": "#4b56cf",
"rgb": {
"r": 75,
"g": 86,
"b": 207
},
"hsl": {
"h": 235,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.51527,
"c": 0.18476,
"h": 274
},
"luminance": 0.12656
}Semantic roles & 50–950 ramp
primary
#4B56CF
secondary
#D6D29F
accent
#D447E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83