#4E48DF#4E48DF

#4E48DF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.221 H 276.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E48DF
RGBrgb(78, 72, 223)
HSLhsl(242, 70%, 58%)
HSVhsv(242, 68%, 87%)
CMYKcmyk(65%, 67.7%, 0%, 12.5%)
CIE-LABlab(40.54, 47.48, -75.98)
CIE-LCHlch(40.54, 89.60, 302.00°)
OKLaboklab(50.74% 0.0262 -0.2193)
OKLCHoklch(50.74% 0.221 276.8)
XYZxyz(18.7742, 11.5805, 71.0436)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48DF #D9DF48
analogous
#488DDF #4E48DF #9948DF
triadic
#4E48DF #DF4E48 #48DF4E
tetradic
#4E48DF #DF488D #D9DF48 #48DF99
square
#4E48DF #DF488D #D9DF48 #48DF99
split-complementary
#4E48DF #DF9948 #8DDF48
monochromatic
#1F1A93 #2923C7 #4E48DF #807CE8 #B3B0F1

Accessibility & contrast

On white

6.33
#4E48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48DF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48DF#FFFFFF#000000##FFFFFF
##4E48DF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e48df;
/* rgb */ color: rgb(78, 72, 223);
/* oklch */ color: oklch(50.7% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#917cea',
    500: '#4e48df',
    950: '#000000',
  },
}
SCSS
$custom: #4e48df;
$custom-light: #917cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48df",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 242.384,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.22087,
    "h": 276.8
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#4E48DF
secondary
#DDE0A3
accent
#ED3BE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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