#4C4E98#4C4E98
#4C4E98 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.0% C 0.118 H 279.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4E98 |
|---|---|
| RGB | rgb(76, 78, 152) |
| HSL | hsl(238, 33%, 45%) |
| HSV | hsv(238, 50%, 60%) |
| CMYK | cmyk(50%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(36.46, 20.23, -40.96) |
| CIE-LCH | lch(36.46, 45.68, 296.29°) |
| OKLab | oklab(46.02% 0.0195 -0.1164) |
| OKLCH | oklch(46.02% 0.118 279.5) |
| XYZ | xyz(11.3706, 9.2517, 30.8863) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.05
Blueberry
#464196
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 5.56
Dusk
#4E5481
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.54
Dusky Blue
#475F94
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4E98 #98964C
analogous
#4C7498 #4C4E98 #704C98
triadic
#4C4E98 #984C4E #4E984C
tetradic
#4C4E98 #984C74 #98964C #4C9870
square
#4C4E98 #984C74 #98964C #4C9870
split-complementary
#4C4E98 #98704C #74984C
monochromatic
#232446 #38396F #4C4E98 #6C6EB5 #9596CA
Accessibility & contrast
On white
7.37
#4C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#4C4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4E98
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4E98 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#2F5E6B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4c4e98; /* rgb */ color: rgb(76, 78, 152); /* oklch */ color: oklch(46.0% 0.118 279.5);
Tailwind
colors: {
custom: {
50: '#837fb7',
500: '#4c4e98',
950: '#000000',
},
}SCSS
$custom: #4c4e98; $custom-light: #837fb7; $custom-dark: #000000;
JSON
{
"hex": "#4c4e98",
"rgb": {
"r": 76,
"g": 78,
"b": 152
},
"hsl": {
"h": 238.421,
"s": 33.333,
"l": 44.706
},
"oklch": {
"l": 0.46017,
"c": 0.11808,
"h": 279.5
},
"luminance": 0.09252
}Semantic roles & 50–950 ramp
primary
#4C4E98
secondary
#B6B58A
accent
#C75EC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80