#4C48C9#4C48C9

#4C48C9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.194 H 277.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4C48C9
RGBrgb(76, 72, 201)
HSLhsl(242, 54%, 54%)
HSVhsv(242, 64%, 79%)
CMYKcmyk(62.2%, 64.2%, 0%, 21.2%)
CIE-LABlab(38.53, 40.10, -66.62)
CIE-LCHlch(38.53, 77.76, 301.04°)
OKLaboklab(48.67% 0.0262 -0.1919)
OKLCHoklch(48.67% 0.194 277.8)
XYZxyz(15.8371, 10.3870, 56.4173)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48C9 #C5C948
analogous
#4884C9 #4C48C9 #8C48C9
triadic
#4C48C9 #C94C48 #48C94C
tetradic
#4C48C9 #C94884 #C5C948 #48C98C
square
#4C48C9 #C94884 #C5C948 #48C98C
split-complementary
#4C48C9 #C98C48 #84C948
monochromatic
#252274 #3430A4 #4C48C9 #7A77D7 #A8A7E5

Accessibility & contrast

On white

6.82
#4C48C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4C48C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C48C9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48C9#FFFFFF#000000##FFFFFF
##4C48C91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c48c9;
/* rgb */ color: rgb(76, 72, 201);
/* oklch */ color: oklch(48.7% 0.194 277.8);
Tailwind
colors: {
  custom: {
    50: '#8c7bda',
    500: '#4c48c9',
    950: '#000000',
  },
}
SCSS
$custom: #4c48c9;
$custom-light: #8c7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48c9",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 241.86,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.19372,
    "h": 277.8
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#4C48C9
secondary
#D0D29B
accent
#DE4AD9
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C48C9

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

Preview Lab → · Contrast checker → · Palette generator →

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