#4E48A2#4E48A2

#4E48A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.141 H 282.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4E48A2
RGBrgb(78, 72, 162)
HSLhsl(244, 38%, 46%)
HSVhsv(244, 56%, 64%)
CMYKcmyk(51.9%, 55.6%, 0%, 36.5%)
CIE-LABlab(35.72, 27.76, -48.17)
CIE-LCHlch(35.72, 55.59, 299.96°)
OKLaboklab(45.71% 0.03 -0.1376)
OKLCHoklch(45.71% 0.141 282.3)
XYZxyz(11.9789, 8.8624, 35.2548)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A2 #9CA248
analogous
#486FA2 #4E48A2 #7B48A2
triadic
#4E48A2 #A24E48 #48A24E
tetradic
#4E48A2 #A2486F #9CA248 #48A27B
square
#4E48A2 #A2486F #9CA248 #48A27B
split-complementary
#4E48A2 #A27B48 #6FA248
monochromatic
#25224D #3A3578 #4E48A2 #706ABD #9995D0

Accessibility & contrast

On white

7.57
#4E48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48A2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A2#FFFFFF#000000##FFFFFF
##4E48A21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#0551A0
Tritanopia (blue-blind)
#2D5C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e48a2;
/* rgb */ color: rgb(78, 72, 162);
/* oklch */ color: oklch(45.7% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#867bbe',
    500: '#4e48a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a2;
$custom-light: #867bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a2",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 244,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.14086,
    "h": 282.3
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#4E48A2
secondary
#B8BC8A
accent
#CE59C7
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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