#4E48B4#4E48B4

#4E48B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.166 H 280.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E48B4
RGBrgb(78, 72, 180)
HSLhsl(243, 43%, 49%)
HSVhsv(243, 60%, 71%)
CMYKcmyk(56.7%, 60%, 0%, 29.4%)
CIE-LABlab(37.02, 33.59, -56.78)
CIE-LCHlch(37.02, 65.97, 300.61°)
OKLaboklab(47.08% 0.03 -0.163)
OKLCHoklch(47.08% 0.166 280.4)
XYZxyz(13.6949, 9.5488, 44.2926)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B4 #AEB448
analogous
#4878B4 #4E48B4 #8448B4
triadic
#4E48B4 #B44E48 #48B44E
tetradic
#4E48B4 #B44878 #AEB448 #48B484
square
#4E48B4 #B44878 #AEB448 #48B484
split-complementary
#4E48B4 #B48448 #78B448
monochromatic
#28255D #3B3788 #4E48B4 #7772C7 #A19ED8

Accessibility & contrast

On white

7.22
#4E48B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E48B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B4#FFFFFF#000000##FFFFFF
##4E48B41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#186277
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e48b4;
/* rgb */ color: rgb(78, 72, 180);
/* oklch */ color: oklch(47.1% 0.166 280.4);
Tailwind
colors: {
  custom: {
    50: '#897bcb',
    500: '#4e48b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b4;
$custom-light: #897bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b4",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 243.333,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.16568,
    "h": 280.4
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#4E48B4
secondary
#C2C593
accent
#D355CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48B4

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

Preview Lab → · Contrast checker → · Palette generator →

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