#4C4FAC#4C4FAC
#4C4FAC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.146 H 277.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4FAC |
|---|---|
| RGB | rgb(76, 79, 172) |
| HSL | hsl(238, 39%, 49%) |
| HSV | hsv(238, 56%, 67%) |
| CMYK | cmyk(55.8%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(38.03, 26.17, -50.41) |
| CIE-LCH | lch(38.03, 56.80, 297.43°) |
| OKLab | oklab(47.62% 0.0201 -0.1442) |
| OKLCH | oklch(47.62% 0.146 277.9) |
| XYZ | xyz(13.2205, 10.1061, 40.2758) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.55
Blueberry
#464196
ΔE00 5.17
Iris
#6258C4
ΔE00 5.53
Twilight
#4E518B
ΔE00 6.16
Blue Blue
#2242C7
ΔE00 6.39
Warm Blue
#4B57DB
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4FAC #ACA94C
analogous
#4C7FAC #4C4FAC #794CAC
triadic
#4C4FAC #AC4C4F #4FAC4C
tetradic
#4C4FAC #AC4C7F #ACA94C #4CAC79
square
#4C4FAC #AC4C7F #ACA94C #4CAC79
split-complementary
#4C4FAC #AC794C #7FAC4C
monochromatic
#262857 #393C82 #4C4FAC #7476C1 #9EA0D4
Accessibility & contrast
On white
6.95
#4C4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4C4FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C4FAC
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4FAC | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#1B6476
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4c4fac; /* rgb */ color: rgb(76, 79, 172); /* oklch */ color: oklch(47.6% 0.146 277.9);
Tailwind
colors: {
custom: {
50: '#8680c5',
500: '#4c4fac',
950: '#000000',
},
}SCSS
$custom: #4c4fac; $custom-light: #8680c5; $custom-dark: #000000;
JSON
{
"hex": "#4c4fac",
"rgb": {
"r": 76,
"g": 79,
"b": 172
},
"hsl": {
"h": 238.125,
"s": 38.71,
"l": 48.627
},
"oklch": {
"l": 0.47615,
"c": 0.14562,
"h": 277.9
},
"luminance": 0.10107
}Semantic roles & 50–950 ramp
primary
#4C4FAC
secondary
#C1C093
accent
#CB59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82