#4E48BD#4E48BD

#4E48BD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.178 H 279.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E48BD
RGBrgb(78, 72, 189)
HSLhsl(243, 47%, 51%)
HSVhsv(243, 62%, 74%)
CMYKcmyk(58.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(37.71, 36.52, -60.95)
CIE-LCHlch(37.71, 71.05, 300.93°)
OKLaboklab(47.81% 0.0296 -0.1752)
OKLCHoklch(47.81% 0.178 279.6)
XYZxyz(14.6417, 9.9275, 49.2789)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48BD #B7BD48
analogous
#487CBD #4E48BD #8848BD
triadic
#4E48BD #BD4E48 #48BD4E
tetradic
#4E48BD #BD487C #B7BD48 #48BD88
square
#4E48BD #BD487C #B7BD48 #48BD88
split-complementary
#4E48BD #BD8848 #7CBD48
monochromatic
#282566 #3A3593 #4E48BD #7A75CD #A5A2DD

Accessibility & contrast

On white

7.03
#4E48BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E48BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48BD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48BD#FFFFFF#000000##FFFFFF
##4E48BD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e48bd;
/* rgb */ color: rgb(78, 72, 189);
/* oklch */ color: oklch(47.8% 0.178 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a7bd2',
    500: '#4e48bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e48bd;
$custom-light: #8a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48bd",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 243.077,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.17769,
    "h": 279.6
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#4E48BD
secondary
#C8CA97
accent
#D751D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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