#4E48D9#4E48D9

#4E48D9 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.213 H 277.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E48D9
RGBrgb(78, 72, 217)
HSLhsl(242, 66%, 57%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(64.1%, 66.8%, 0%, 14.9%)
CIE-LABlab(40.02, 45.56, -73.41)
CIE-LCHlch(40.02, 86.40, 301.83°)
OKLaboklab(50.2% 0.027 -0.2118)
OKLCHoklch(50.2% 0.213 277.3)
XYZxyz(17.9796, 11.2627, 66.8586)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48D9 #D3D948
analogous
#488BD9 #4E48D9 #9748D9
triadic
#4E48D9 #D94E48 #48D94E
tetradic
#4E48D9 #D9488B #D3D948 #48D997
square
#4E48D9 #D9488B #D3D948 #48D997
split-complementary
#4E48D9 #D99748 #8BD948
monochromatic
#211D8A #2D27BD #4E48D9 #7F7BE4 #B0ADEE

Accessibility & contrast

On white

6.46
#4E48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48D9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48D9#FFFFFF#000000##FFFFFF
##4E48D91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e48d9;
/* rgb */ color: rgb(78, 72, 217);
/* oklch */ color: oklch(50.2% 0.213 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f7ce6',
    500: '#4e48d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e48d9;
$custom-light: #8f7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48d9",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 242.483,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.21348,
    "h": 277.3
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#4E48D9
secondary
#DADCA1
accent
#E93FE2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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