#4E48CD#4E48CD

#4E48CD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.198 H 278.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4E48CD
RGBrgb(78, 72, 205)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(62%, 64.9%, 0%, 19.6%)
CIE-LABlab(39.00, 41.70, -68.16)
CIE-LCHlch(39.00, 79.90, 301.46°)
OKLaboklab(49.15% 0.0283 -0.1964)
OKLCHoklch(49.15% 0.198 278.2)
XYZxyz(16.4752, 10.6609, 58.9353)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48CD #C7CD48
analogous
#4885CD #4E48CD #9148CD
triadic
#4E48CD #CD4E48 #48CD4E
tetradic
#4E48CD #CD4885 #C7CD48 #48CD91
square
#4E48CD #CD4885 #C7CD48 #48CD91
split-complementary
#4E48CD #CD9148 #85CD48
monochromatic
#252179 #342EA9 #4E48CD #7C78DA #ABA8E7

Accessibility & contrast

On white

6.70
#4E48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48CD#FFFFFF#000000##FFFFFF
##4E48CD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e48cd;
/* rgb */ color: rgb(78, 72, 205);
/* oklch */ color: oklch(49.2% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d7cdd',
    500: '#4e48cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e48cd;
$custom-light: #8d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48cd",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 242.707,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.19842,
    "h": 278.2
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#4E48CD
secondary
#D2D59C
accent
#E047D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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