#4C48CA#4C48CA

#4C48CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.195 H 277.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4C48CA
RGBrgb(76, 72, 202)
HSLhsl(242, 55%, 54%)
HSVhsv(242, 64%, 79%)
CMYKcmyk(62.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(38.61, 40.43, -67.07)
CIE-LCHlch(38.61, 78.31, 301.08°)
OKLaboklab(48.75% 0.0261 -0.1932)
OKLCHoklch(48.75% 0.195 277.7)
XYZxyz(15.9551, 10.4342, 57.0389)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48CA #C6CA48
analogous
#4885CA #4C48CA #8D48CA
triadic
#4C48CA #CA4C48 #48CA4C
tetradic
#4C48CA #CA4885 #C6CA48 #48CA8D
square
#4C48CA #CA4885 #C6CA48 #48CA8D
split-complementary
#4C48CA #CA8D48 #85CA48
monochromatic
#252276 #3330A5 #4C48CA #7A77D8 #A9A7E5

Accessibility & contrast

On white

6.80
#4C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4C48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C48CA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48CA#FFFFFF#000000##FFFFFF
##4C48CA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c48ca;
/* rgb */ color: rgb(76, 72, 202);
/* oklch */ color: oklch(48.8% 0.195 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c7bdb',
    500: '#4c48ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c48ca;
$custom-light: #8c7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48ca",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 241.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48754,
    "c": 0.195,
    "h": 277.7
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#4C48CA
secondary
#D1D39B
accent
#DE49DA
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C48CA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4C48CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva