#4E5DA1#4E5DA1

#4E5DA1 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.110 H 272.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E5DA1
RGBrgb(78, 93, 161)
HSLhsl(229, 35%, 47%)
HSVhsv(229, 52%, 63%)
CMYKcmyk(51.6%, 42.2%, 0%, 36.9%)
CIE-LABlab(41.25, 14.03, -38.72)
CIE-LCHlch(41.25, 41.18, 289.92°)
OKLaboklab(49.87% 0.0047 -0.1097)
OKLCHoklch(49.87% 0.11 272.5)
XYZxyz(13.4872, 12.0208, 35.3208)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DA1 #A1924E
analogous
#4E87A1 #4E5DA1 #694EA1
triadic
#4E5DA1 #A14E5D #5DA14E
tetradic
#4E5DA1 #A14E87 #A1924E #4EA169
square
#4E5DA1 #A14E87 #A1924E #4EA169
split-complementary
#4E5DA1 #A1694E #87A14E
monochromatic
#262D4F #3A4578 #4E5DA1 #727FBB #9BA4CF

Accessibility & contrast

On white

6.17
#4E5DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E5DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DA1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DA1#FFFFFF#000000##FFFFFF
##4E5DA11.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A4
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#2A6C77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5da1;
/* rgb */ color: rgb(78, 93, 161);
/* oklch */ color: oklch(49.9% 0.110 272.5);
Tailwind
colors: {
  custom: {
    50: '#858abd',
    500: '#4e5da1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5da1;
$custom-light: #858abd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5da1",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 229.157,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49868,
    "c": 0.10982,
    "h": 272.5
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#4E5DA1
secondary
#BBB390
accent
#B75DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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