#4C48C8#4C48C8

#4C48C8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.192 H 277.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4C48C8
RGBrgb(76, 72, 200)
HSLhsl(242, 54%, 53%)
HSVhsv(242, 64%, 78%)
CMYKcmyk(62%, 64%, 0%, 21.6%)
CIE-LABlab(38.45, 39.77, -66.18)
CIE-LCHlch(38.45, 77.21, 301.01°)
OKLaboklab(48.58% 0.0263 -0.1906)
OKLCHoklch(48.58% 0.192 277.8)
XYZxyz(15.7198, 10.3401, 55.7998)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48C8 #C4C848
analogous
#4884C8 #4C48C8 #8C48C8
triadic
#4C48C8 #C84C48 #48C84C
tetradic
#4C48C8 #C84884 #C4C848 #48C88C
square
#4C48C8 #C84884 #C4C848 #48C88C
split-complementary
#4C48C8 #C88C48 #84C848
monochromatic
#252373 #3431A2 #4C48C8 #7A77D6 #A8A6E4

Accessibility & contrast

On white

6.84
#4C48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4C48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C48C8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48C8#FFFFFF#000000##FFFFFF
##4C48C81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c48c8;
/* rgb */ color: rgb(76, 72, 200);
/* oklch */ color: oklch(48.6% 0.192 277.8);
Tailwind
colors: {
  custom: {
    50: '#8b7bda',
    500: '#4c48c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c48c8;
$custom-light: #8b7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48c8",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 241.875,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.19243,
    "h": 277.8
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#4C48C8
secondary
#D0D19A
accent
#DD4BD9
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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