#4B42BA#4B42BA
#4B42BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.182 H 280.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4B42BA |
|---|---|
| RGB | rgb(75, 66, 186) |
| HSL | hsl(245, 48%, 49%) |
| HSV | hsv(245, 65%, 73%) |
| CMYK | cmyk(59.7%, 64.5%, 0%, 27.1%) |
| CIE-LAB | lab(35.86, 38.68, -62.21) |
| CIE-LCH | lch(35.86, 73.26, 301.87°) |
| OKLab | oklab(46.32% 0.0314 -0.179) |
| OKLCH | oklch(46.32% 0.182 280) |
| XYZ | xyz(13.7100, 8.9365, 47.4473) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 0.95
Blue With A Hint Of Purple
#533CC6
ΔE00 2.67
Blurple
#5539CC
ΔE00 3.70
Bluey Purple
#6241C7
ΔE00 4.09
Blue Blue
#2242C7
ΔE00 4.41
Blueberry
#464196
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B42BA #B1BA42
analogous
#4275BA #4B42BA #8742BA
triadic
#4B42BA #BA4B42 #42BA4B
tetradic
#4B42BA #BA4275 #B1BA42 #42BA87
square
#4B42BA #BA4275 #B1BA42 #42BA87
split-complementary
#4B42BA #BA8742 #75BA42
monochromatic
#272260 #39328D #4B42BA #756ECB #A09BDB
Accessibility & contrast
On white
7.53
#4B42BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#4B42BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B42BA
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B42BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B42BA | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4b42ba; /* rgb */ color: rgb(75, 66, 186); /* oklch */ color: oklch(46.3% 0.182 280.0);
Tailwind
colors: {
custom: {
50: '#8977d0',
500: '#4b42ba',
950: '#000000',
},
}SCSS
$custom: #4b42ba; $custom-light: #8977d0; $custom-dark: #000000;
JSON
{
"hex": "#4b42ba",
"rgb": {
"r": 75,
"g": 66,
"b": 186
},
"hsl": {
"h": 244.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.46324,
"c": 0.18177,
"h": 280
},
"luminance": 0.08937
}Semantic roles & 50–950 ramp
primary
#4B42BA
secondary
#C3C890
accent
#D751CD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82