#4E48A1#4E48A1

#4E48A1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.139 H 282.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4E48A1
RGBrgb(78, 72, 161)
HSLhsl(244, 38%, 46%)
HSVhsv(244, 55%, 63%)
CMYKcmyk(51.6%, 55.3%, 0%, 36.9%)
CIE-LABlab(35.65, 27.44, -47.68)
CIE-LCHlch(35.65, 55.01, 299.92°)
OKLaboklab(45.63% 0.0299 -0.1362)
OKLCHoklch(45.63% 0.139 282.4)
XYZxyz(11.8903, 8.8270, 34.7886)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A1 #9BA148
analogous
#486EA1 #4E48A1 #7A48A1
triadic
#4E48A1 #A14E48 #48A14E
tetradic
#4E48A1 #A1486E #9BA148 #48A17A
square
#4E48A1 #A1486E #9BA148 #48A17A
split-complementary
#4E48A1 #A17A48 #6EA148
monochromatic
#25224C #3A3577 #4E48A1 #6F6ABC #9894CF

Accessibility & contrast

On white

7.59
#4E48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E48A1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A1#FFFFFF#000000##FFFFFF
##4E48A11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#08519F
Tritanopia (blue-blind)
#2E5C6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e48a1;
/* rgb */ color: rgb(78, 72, 161);
/* oklch */ color: oklch(45.6% 0.139 282.4);
Tailwind
colors: {
  custom: {
    50: '#867bbd',
    500: '#4e48a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a1;
$custom-light: #867bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a1",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 244.045,
    "s": 38.197,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.13944,
    "h": 282.4
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#4E48A1
secondary
#B8BB8A
accent
#CE5AC6
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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