#4B4EA5#4B4EA5
#4B4EA5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.137 H 278.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4B4EA5 |
|---|---|
| RGB | rgb(75, 78, 165) |
| HSL | hsl(238, 38%, 47%) |
| HSV | hsv(238, 55%, 65%) |
| CMYK | cmyk(54.5%, 52.7%, 0%, 35.3%) |
| CIE-LAB | lab(37.23, 24.27, -47.54) |
| CIE-LCH | lch(37.23, 53.38, 297.04°) |
| OKLab | oklab(46.84% 0.0196 -0.1358) |
| OKLCH | oklch(46.84% 0.137 278.2) |
| XYZ | xyz(12.4154, 9.6605, 36.8004) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.93
Twilight
#4E518B
ΔE00 5.21
Darkslateblue
#483D8B
ΔE00 6.42
Iris
#6258C4
ΔE00 6.43
Blue Blue
#2242C7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B4EA5 #A5A24B
analogous
#4B7BA5 #4B4EA5 #754BA5
triadic
#4B4EA5 #A54B4E #4EA54B
tetradic
#4B4EA5 #A54B7B #A5A24B #4BA575
square
#4B4EA5 #A54B7B #A5A24B #4BA575
split-complementary
#4B4EA5 #A5754B #7BA54B
monochromatic
#252651 #383A7B #4B4EA5 #6F72BE #9A9BD1
Accessibility & contrast
On white
7.16
#4B4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#4B4EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B4EA5
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B4EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B4EA5 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#1154A3
Tritanopia (blue-blind)
#216272
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4b4ea5; /* rgb */ color: rgb(75, 78, 165); /* oklch */ color: oklch(46.8% 0.137 278.2);
Tailwind
colors: {
custom: {
50: '#847fc0',
500: '#4b4ea5',
950: '#000000',
},
}SCSS
$custom: #4b4ea5; $custom-light: #847fc0; $custom-dark: #000000;
JSON
{
"hex": "#4b4ea5",
"rgb": {
"r": 75,
"g": 78,
"b": 165
},
"hsl": {
"h": 238,
"s": 37.5,
"l": 47.059
},
"oklch": {
"l": 0.4684,
"c": 0.13724,
"h": 278.2
},
"luminance": 0.09661
}Semantic roles & 50–950 ramp
primary
#4B4EA5
secondary
#BDBC8F
accent
#CA5ACD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81