#4E48A6#4E48A6

#4E48A6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.146 H 281.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4E48A6
RGBrgb(78, 72, 166)
HSLhsl(244, 39%, 47%)
HSVhsv(244, 57%, 65%)
CMYKcmyk(53%, 56.6%, 0%, 34.9%)
CIE-LABlab(36.00, 29.05, -50.11)
CIE-LCHlch(36.00, 57.92, 300.10°)
OKLaboklab(46% 0.0301 -0.1433)
OKLCHoklch(46% 0.146 281.8)
XYZxyz(12.3401, 9.0069, 37.1573)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A6 #A0A648
analogous
#4871A6 #4E48A6 #7D48A6
triadic
#4E48A6 #A64E48 #48A64E
tetradic
#4E48A6 #A64871 #A0A648 #48A67D
square
#4E48A6 #A64871 #A0A648 #48A67D
split-complementary
#4E48A6 #A67D48 #71A648
monochromatic
#262351 #3A357B #4E48A6 #716CBF #9A97D2

Accessibility & contrast

On white

7.50
#4E48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E48A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48A6
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A6#FFFFFF#000000##FFFFFF
##4E48A61.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#295D70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e48a6;
/* rgb */ color: rgb(78, 72, 166);
/* oklch */ color: oklch(46.0% 0.146 281.8);
Tailwind
colors: {
  custom: {
    50: '#877bc1',
    500: '#4e48a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a6;
$custom-light: #877bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a6",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 243.83,
    "s": 39.496,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.14647,
    "h": 281.8
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#4E48A6
secondary
#BBBE8C
accent
#CF58C8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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