#4A50CB#4A50CB
#4A50CB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.187 H 275.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A50CB |
|---|---|
| RGB | rgb(74, 80, 203) |
| HSL | hsl(237, 55%, 54%) |
| HSV | hsv(237, 64%, 80%) |
| CMYK | cmyk(63.5%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(40.42, 35.57, -64.71) |
| CIE-LCH | lch(40.42, 73.84, 298.80°) |
| OKLab | oklab(50.07% 0.017 -0.1863) |
| OKLCH | oklch(50.07% 0.187 275.2) |
| XYZ | xyz(16.4687, 11.5036, 57.8409) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.04
Iris
#6258C4
ΔE00 4.30
Blue Blue
#2242C7
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A50CB #CBC54A
analogous
#4A91CB #4A50CB #854ACB
triadic
#4A50CB #CB4A50 #50CB4A
tetradic
#4A50CB #CB4A91 #CBC54A #4ACB85
square
#4A50CB #CB4A91 #CBC54A #4ACB85
split-complementary
#4A50CB #CB854A #91CB4A
monochromatic
#232678 #3036A8 #4A50CB #7A7ED9 #A9ACE6
Accessibility & contrast
On white
6.36
#4A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4A50CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A50CB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A50CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A50CB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4a50cb; /* rgb */ color: rgb(74, 80, 203); /* oklch */ color: oklch(50.1% 0.187 275.2);
Tailwind
colors: {
custom: {
50: '#8a81dc',
500: '#4a50cb',
950: '#000000',
},
}SCSS
$custom: #4a50cb; $custom-light: #8a81dc; $custom-dark: #000000;
JSON
{
"hex": "#4a50cb",
"rgb": {
"r": 74,
"g": 80,
"b": 203
},
"hsl": {
"h": 237.209,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.50067,
"c": 0.1871,
"h": 275.2
},
"luminance": 0.11505
}Semantic roles & 50–950 ramp
primary
#4A50CB
secondary
#D4D19D
accent
#D849DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83