#4F56CA#4F56CA
#4F56CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.177 H 275.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56CA |
|---|---|
| RGB | rgb(79, 86, 202) |
| HSL | hsl(237, 54%, 55%) |
| HSV | hsv(237, 61%, 79%) |
| CMYK | cmyk(60.9%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.12, 32.33, -61.34) |
| CIE-LCH | lch(42.12, 69.34, 297.79°) |
| OKLab | oklab(51.39% 0.0174 -0.1762) |
| OKLCH | oklch(51.39% 0.177 275.6) |
| XYZ | xyz(17.2094, 12.5808, 57.3871) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Iris
#6258C4
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.19
Azul
#1D5DEC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56CA #CAC34F
analogous
#4F94CA #4F56CA #854FCA
triadic
#4F56CA #CA4F56 #56CA4F
tetradic
#4F56CA #CA4F94 #CAC34F #4FCA85
square
#4F56CA #CA4F94 #CAC34F #4FCA85
split-complementary
#4F56CA #CA854F #94CA4F
monochromatic
#252A7A #333AA9 #4F56CA #7E83D8 #ADB0E6
Accessibility & contrast
On white
5.97
#4F56CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#4F56CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56CA
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56CA | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4f56ca; /* rgb */ color: rgb(79, 86, 202); /* oklch */ color: oklch(51.4% 0.177 275.6);
Tailwind
colors: {
custom: {
50: '#8c85db',
500: '#4f56ca',
950: '#000000',
},
}SCSS
$custom: #4f56ca; $custom-light: #8c85db; $custom-dark: #000000;
JSON
{
"hex": "#4f56ca",
"rgb": {
"r": 79,
"g": 86,
"b": 202
},
"hsl": {
"h": 236.585,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51393,
"c": 0.17709,
"h": 275.6
},
"luminance": 0.12582
}Semantic roles & 50–950 ramp
primary
#4F56CA
secondary
#D4D1A1
accent
#D54BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83