#4C5291#4C5291
#4C5291 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.102 H 277.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5291 |
|---|---|
| RGB | rgb(76, 82, 145) |
| HSL | hsl(235, 31%, 43%) |
| HSV | hsv(235, 48%, 57%) |
| CMYK | cmyk(47.6%, 43.4%, 0%, 43.1%) |
| CIE-LAB | lab(37.14, 15.39, -35.64) |
| CIE-LCH | lch(37.14, 38.82, 293.36°) |
| OKLab | oklab(46.4% 0.0134 -0.1008) |
| OKLCH | oklch(46.4% 0.102 277.5) |
| XYZ | xyz(11.1071, 9.6148, 28.0532) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.44
Dusk
#4E5481
ΔE00 3.79
Dusky Blue
#475F94
ΔE00 5.57
Blueberry
#464196
ΔE00 5.98
Denim Blue
#3B5B92
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5291 #918B4C
analogous
#4C7491 #4C5291 #684C91
triadic
#4C5291 #914C52 #52914C
tetradic
#4C5291 #914C74 #918B4C #4C9168
square
#4C5291 #914C74 #918B4C #4C9168
split-complementary
#4C5291 #91684C #74914C
monochromatic
#222541 #373B69 #4C5291 #6A70B1 #9296C6
Accessibility & contrast
On white
7.18
#4C5291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4C5291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C5291
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5291 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#335F6A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4c5291; /* rgb */ color: rgb(76, 82, 145); /* oklch */ color: oklch(46.4% 0.102 277.5);
Tailwind
colors: {
custom: {
50: '#8282b1',
500: '#4c5291',
950: '#000000',
},
}SCSS
$custom: #4c5291; $custom-light: #8282b1; $custom-dark: #000000;
JSON
{
"hex": "#4c5291",
"rgb": {
"r": 76,
"g": 82,
"b": 145
},
"hsl": {
"h": 234.783,
"s": 31.222,
"l": 43.333
},
"oklch": {
"l": 0.46397,
"c": 0.10172,
"h": 277.5
},
"luminance": 0.09615
}Semantic roles & 50–950 ramp
primary
#4C5291
secondary
#B2AE87
accent
#BE60C7
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A11
muted
#7C7C80