#4E5DA5#4E5DA5

#4E5DA5 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.1% C 0.116 H 272.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E5DA5
RGBrgb(78, 93, 165)
HSLhsl(230, 36%, 48%)
HSVhsv(230, 53%, 65%)
CMYKcmyk(52.7%, 43.6%, 0%, 35.3%)
CIE-LABlab(41.48, 15.34, -40.73)
CIE-LCHlch(41.48, 43.52, 290.64°)
OKLaboklab(50.11% 0.0055 -0.1156)
OKLCHoklch(50.11% 0.116 272.7)
XYZxyz(13.8456, 12.1641, 37.2083)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DA5 #A5964E
analogous
#4E88A5 #4E5DA5 #6A4EA5
triadic
#4E5DA5 #A54E5D #5DA54E
tetradic
#4E5DA5 #A54E88 #A5964E #4EA56A
square
#4E5DA5 #A54E88 #A5964E #4EA56A
split-complementary
#4E5DA5 #A56A4E #88A54E
monochromatic
#272E52 #3A467B #4E5DA5 #7380BD #9DA6D1

Accessibility & contrast

On white

6.12
#4E5DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E5DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DA5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DA5#FFFFFF#000000##FFFFFF
##4E5DA51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#276D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5da5;
/* rgb */ color: rgb(78, 93, 165);
/* oklch */ color: oklch(50.1% 0.116 272.7);
Tailwind
colors: {
  custom: {
    50: '#858ac0',
    500: '#4e5da5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5da5;
$custom-light: #858ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5da5",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 229.655,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.11575,
    "h": 272.7
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#4E5DA5
secondary
#BDB691
accent
#B95CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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