#4E48BA#4E48BA

#4E48BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.174 H 279.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4E48BA
RGBrgb(78, 72, 186)
HSLhsl(243, 45%, 51%)
HSVhsv(243, 61%, 73%)
CMYKcmyk(58.1%, 61.3%, 0%, 27.1%)
CIE-LABlab(37.48, 35.54, -59.57)
CIE-LCHlch(37.48, 69.36, 300.82°)
OKLaboklab(47.57% 0.0297 -0.1712)
OKLCHoklch(47.57% 0.174 279.8)
XYZxyz(14.3194, 9.7986, 47.5816)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48BA #B4BA48
analogous
#487BBA #4E48BA #8748BA
triadic
#4E48BA #BA4E48 #48BA4E
tetradic
#4E48BA #BA487B #B4BA48 #48BA87
square
#4E48BA #BA487B #B4BA48 #48BA87
split-complementary
#4E48BA #BA8748 #7BBA48
monochromatic
#282562 #3B368F #4E48BA #7974CB #A4A1DC

Accessibility & contrast

On white

7.09
#4E48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48BA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48BA#FFFFFF#000000##FFFFFF
##4E48BA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#0A647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e48ba;
/* rgb */ color: rgb(78, 72, 186);
/* oklch */ color: oklch(47.6% 0.174 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4e48ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e48ba;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48ba",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 243.158,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.17372,
    "h": 279.8
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4E48BA
secondary
#C6C896
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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