#4C4FAF#4C4FAF
#4C4FAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.150 H 277.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4FAF |
|---|---|
| RGB | rgb(76, 79, 175) |
| HSL | hsl(238, 39%, 49%) |
| HSV | hsv(238, 57%, 69%) |
| CMYK | cmyk(56.6%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(38.24, 27.16, -51.85) |
| CIE-LCH | lch(38.24, 58.54, 297.65°) |
| OKLab | oklab(47.84% 0.0202 -0.1485) |
| OKLCH | oklch(47.84% 0.15 277.8) |
| XYZ | xyz(13.5119, 10.2227, 41.8103) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.36
Iris
#6258C4
ΔE00 5.25
Blueberry
#464196
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 6.11
Warm Blue
#4B57DB
ΔE00 6.56
Twilight
#4E518B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4FAF #AFAC4C
analogous
#4C81AF #4C4FAF #7B4CAF
triadic
#4C4FAF #AF4C4F #4FAF4C
tetradic
#4C4FAF #AF4C81 #AFAC4C #4CAF7B
square
#4C4FAF #AF4C81 #AFAC4C #4CAF7B
split-complementary
#4C4FAF #AF7B4C #81AF4C
monochromatic
#27285A #393C84 #4C4FAF #7577C3 #A0A1D6
Accessibility & contrast
On white
6.90
#4C4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4C4FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C4FAF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4FAF | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#166577
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4c4faf; /* rgb */ color: rgb(76, 79, 175); /* oklch */ color: oklch(47.8% 0.150 277.8);
Tailwind
colors: {
custom: {
50: '#8780c7',
500: '#4c4faf',
950: '#000000',
},
}SCSS
$custom: #4c4faf; $custom-light: #8780c7; $custom-dark: #000000;
JSON
{
"hex": "#4c4faf",
"rgb": {
"r": 76,
"g": 79,
"b": 175
},
"hsl": {
"h": 238.182,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.47835,
"c": 0.14985,
"h": 277.8
},
"luminance": 0.10224
}Semantic roles & 50–950 ramp
primary
#4C4FAF
secondary
#C2C194
accent
#CC58CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82