#4E5DA7#4E5DA7

#4E5DA7 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.119 H 272.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E5DA7
RGBrgb(78, 93, 167)
HSLhsl(230, 36%, 48%)
HSVhsv(230, 53%, 65%)
CMYKcmyk(53.3%, 44.3%, 0%, 34.5%)
CIE-LABlab(41.59, 16.00, -41.73)
CIE-LCHlch(41.59, 44.69, 290.98°)
OKLaboklab(50.24% 0.0058 -0.1185)
OKLCHoklch(50.24% 0.119 272.8)
XYZxyz(14.0290, 12.2375, 38.1745)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DA7 #A7984E
analogous
#4E89A7 #4E5DA7 #6B4EA7
triadic
#4E5DA7 #A74E5D #5DA74E
tetradic
#4E5DA7 #A74E89 #A7984E #4EA76B
square
#4E5DA7 #A74E89 #A7984E #4EA76B
split-complementary
#4E5DA7 #A76B4E #89A74E
monochromatic
#272F54 #3B467D #4E5DA7 #7481BE #9EA7D2

Accessibility & contrast

On white

6.09
#4E5DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E5DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DA7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DA7#FFFFFF#000000##FFFFFF
##4E5DA71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#256D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5da7;
/* rgb */ color: rgb(78, 93, 167);
/* oklch */ color: oklch(50.2% 0.119 272.8);
Tailwind
colors: {
  custom: {
    50: '#868ac1',
    500: '#4e5da7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5da7;
$custom-light: #868ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5da7",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 229.888,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.11869,
    "h": 272.8
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#4E5DA7
secondary
#BEB792
accent
#B95BCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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