#4C4CB2#4C4CB2
#4C4CB2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.158 H 278.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4CB2 |
|---|---|
| RGB | rgb(76, 76, 178) |
| HSL | hsl(240, 40%, 50%) |
| HSV | hsv(240, 57%, 70%) |
| CMYK | cmyk(57.3%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(37.70, 30.06, -54.51) |
| CIE-LCH | lch(37.70, 62.24, 298.88°) |
| OKLab | oklab(47.5% 0.0234 -0.1563) |
| OKLCH | oklch(47.5% 0.158 278.5) |
| XYZ | xyz(13.5983, 9.9188, 43.3088) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.26
Blueberry
#464196
ΔE00 5.18
Iris
#6258C4
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.42
Blue With A Hint Of Purple
#533CC6
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4CB2 #B2B24C
analogous
#4C7FB2 #4C4CB2 #7F4CB2
triadic
#4C4CB2 #B24C4C #4CB24C
tetradic
#4C4CB2 #B24C7F #B2B24C #4CB27F
square
#4C4CB2 #B24C7F #B2B24C #4CB27F
split-complementary
#4C4CB2 #B27F4C #7FB24C
monochromatic
#27275C #3A3A87 #4C4CB2 #7676C5 #A1A1D7
Accessibility & contrast
On white
7.04
#4C4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#4C4CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4CB2
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4CB2 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#116477
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4c4cb2; /* rgb */ color: rgb(76, 76, 178); /* oklch */ color: oklch(47.5% 0.158 278.5);
Tailwind
colors: {
custom: {
50: '#877eca',
500: '#4c4cb2',
950: '#000000',
},
}SCSS
$custom: #4c4cb2; $custom-light: #877eca; $custom-dark: #000000;
JSON
{
"hex": "#4c4cb2",
"rgb": {
"r": 76,
"g": 76,
"b": 178
},
"hsl": {
"h": 240,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.47499,
"c": 0.15805,
"h": 278.5
},
"luminance": 0.0992
}Semantic roles & 50–950 ramp
primary
#4C4CB2
secondary
#C4C496
accent
#D058D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82