#4E59B2#4E59B2
#4E59B2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.140 H 274.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E59B2 |
|---|---|
| RGB | rgb(78, 89, 178) |
| HSL | hsl(233, 39%, 50%) |
| HSV | hsv(233, 56%, 70%) |
| CMYK | cmyk(56.2%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(41.18, 22.21, -48.88) |
| CIE-LCH | lch(41.18, 53.69, 294.44°) |
| OKLab | oklab(50.15% 0.0119 -0.1396) |
| OKLCH | oklch(50.15% 0.14 274.9) |
| XYZ | xyz(14.7476, 11.9778, 43.6457) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.79
Dusky Blue
#475F94
ΔE00 5.63
Warm Blue
#4B57DB
ΔE00 5.77
Dark Periwinkle
#665FD1
ΔE00 6.37
Denim Blue
#3B5B92
ΔE00 6.42
Sapphire
#0F52BA
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E59B2 #B2A74E
analogous
#4E8BB2 #4E59B2 #754EB2
triadic
#4E59B2 #B24E59 #59B24E
tetradic
#4E59B2 #B24E8B #B2A74E #4EB275
square
#4E59B2 #B24E8B #B2A74E #4EB275
split-complementary
#4E59B2 #B2754E #8BB24E
monochromatic
#292E5D #3B4388 #4E59B2 #7981C5 #A3A9D7
Accessibility & contrast
On white
6.18
#4E59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4E59B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E59B2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E59B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E59B2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#176D7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4e59b2; /* rgb */ color: rgb(78, 89, 178); /* oklch */ color: oklch(50.1% 0.140 274.9);
Tailwind
colors: {
custom: {
50: '#8887c9',
500: '#4e59b2',
950: '#000000',
},
}SCSS
$custom: #4e59b2; $custom-light: #8887c9; $custom-dark: #000000;
JSON
{
"hex": "#4e59b2",
"rgb": {
"r": 78,
"g": 89,
"b": 178
},
"hsl": {
"h": 233.4,
"s": 39.37,
"l": 50.196
},
"oklch": {
"l": 0.50146,
"c": 0.14009,
"h": 274.9
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#4E59B2
secondary
#C4BF98
accent
#C259CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82