#4C4185#4C4185
#4C4185 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 42.1% C 0.110 H 288.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4185 |
|---|---|
| RGB | rgb(76, 65, 133) |
| HSL | hsl(250, 34%, 39%) |
| HSV | hsv(250, 51%, 52%) |
| CMYK | cmyk(42.9%, 51.1%, 0%, 47.8%) |
| CIE-LAB | lab(31.83, 22.60, -36.75) |
| CIE-LCH | lch(31.83, 43.14, 301.59°) |
| OKLab | oklab(42.15% 0.0342 -0.1042) |
| OKLCH | oklch(42.15% 0.11 288.2) |
| XYZ | xyz(9.1032, 7.0102, 23.0592) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.18
Blueberry
#464196
ΔE00 3.75
Twilight
#4E518B
ΔE00 5.51
Dusk
#4E5481
ΔE00 7.37
Rebeccapurple
#663399
ΔE00 8.03
Ocean Blue
#4F42B5
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4185 #7A8541
analogous
#415885 #4C4185 #6E4185
triadic
#4C4185 #854C41 #41854C
tetradic
#4C4185 #854158 #7A8541 #41856E
square
#4C4185 #854158 #7A8541 #41856E
split-complementary
#4C4185 #856E41 #588541
monochromatic
#1D1933 #352D5C #4C4185 #6457AD #8A80C1
Accessibility & contrast
On white
8.74
#4C4185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4C4185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4185
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4185 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#3C4F5C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4c4185; /* rgb */ color: rgb(76, 65, 133); /* oklch */ color: oklch(42.1% 0.110 288.2);
Tailwind
colors: {
custom: {
50: '#8175a9',
500: '#4c4185',
950: '#000000',
},
}SCSS
$custom: #4c4185; $custom-light: #8175a9; $custom-dark: #000000;
JSON
{
"hex": "#4c4185",
"rgb": {
"r": 76,
"g": 65,
"b": 133
},
"hsl": {
"h": 249.706,
"s": 34.343,
"l": 38.824
},
"oklch": {
"l": 0.42145,
"c": 0.10965,
"h": 288.2
},
"luminance": 0.07011
}Semantic roles & 50–950 ramp
primary
#4C4185
secondary
#A3AB76
accent
#CA5DB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F