#4C48E5#4C48E5

#4C48E5 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.229 H 275.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4C48E5
RGBrgb(76, 72, 229)
HSLhsl(242, 75%, 59%)
HSVhsv(242, 69%, 90%)
CMYKcmyk(66.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(40.94, 49.15, -78.75)
CIE-LCHlch(40.94, 92.83, 301.97°)
OKLaboklab(51.15% 0.023 -0.2275)
OKLCHoklch(51.15% 0.229 275.8)
XYZxyz(19.4361, 11.8266, 75.3721)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48E5 #E1E548
analogous
#4893E5 #4C48E5 #9B48E5
triadic
#4C48E5 #E54C48 #48E54C
tetradic
#4C48E5 #E54893 #E1E548 #48E59B
square
#4C48E5 #E54893 #E1E548 #48E59B
split-complementary
#4C48E5 #E59B48 #93E548
monochromatic
#1A169C #221ED2 #4C48E5 #807EED #B5B3F4

Accessibility & contrast

On white

6.24
#4C48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4C48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C48E5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48E5#FFFFFF#000000##FFFFFF
##4C48E51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c48e5;
/* rgb */ color: rgb(76, 72, 229);
/* oklch */ color: oklch(51.2% 0.229 275.8);
Tailwind
colors: {
  custom: {
    50: '#917cee',
    500: '#4c48e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c48e5;
$custom-light: #917cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48e5",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 241.529,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.22862,
    "h": 275.8
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#4C48E5
secondary
#E2E3A6
accent
#F236ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4C48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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