#4B4EA6#4B4EA6
#4B4EA6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.139 H 278.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4B4EA6 |
|---|---|
| RGB | rgb(75, 78, 166) |
| HSL | hsl(238, 38%, 47%) |
| HSV | hsv(238, 55%, 65%) |
| CMYK | cmyk(54.8%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(37.29, 24.60, -48.03) |
| CIE-LCH | lch(37.29, 53.97, 297.12°) |
| OKLab | oklab(46.91% 0.0196 -0.1373) |
| OKLCH | oklch(46.91% 0.139 278.1) |
| XYZ | xyz(12.5068, 9.6970, 37.2817) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 4.82
Twilight
#4E518B
ΔE00 5.36
Iris
#6258C4
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.51
Blue Blue
#2242C7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B4EA6 #A6A34B
analogous
#4B7CA6 #4B4EA6 #764BA6
triadic
#4B4EA6 #A64B4E #4EA64B
tetradic
#4B4EA6 #A64B7C #A6A34B #4BA676
square
#4B4EA6 #A64B7C #A6A34B #4BA676
split-complementary
#4B4EA6 #A6764B #7CA64B
monochromatic
#252652 #383A7C #4B4EA6 #7072BE #9A9CD1
Accessibility & contrast
On white
7.14
#4B4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#4B4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B4EA6
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B4EA6 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5BA9
Deuteranopia (green-blind)
#0E54A4
Tritanopia (blue-blind)
#206272
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4b4ea6; /* rgb */ color: rgb(75, 78, 166); /* oklch */ color: oklch(46.9% 0.139 278.1);
Tailwind
colors: {
custom: {
50: '#857fc1',
500: '#4b4ea6',
950: '#000000',
},
}SCSS
$custom: #4b4ea6; $custom-light: #857fc1; $custom-dark: #000000;
JSON
{
"hex": "#4b4ea6",
"rgb": {
"r": 75,
"g": 78,
"b": 166
},
"hsl": {
"h": 238.022,
"s": 37.759,
"l": 47.255
},
"oklch": {
"l": 0.46912,
"c": 0.13868,
"h": 278.1
},
"luminance": 0.09698
}Semantic roles & 50–950 ramp
primary
#4B4EA6
secondary
#BEBC8F
accent
#CA5ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81