#4E5DB0#4E5DB0

#4E5DB0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.132 H 273.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB0
RGBrgb(78, 93, 176)
HSLhsl(231, 39%, 50%)
HSVhsv(231, 56%, 69%)
CMYKcmyk(55.7%, 47.2%, 0%, 31%)
CIE-LABlab(42.13, 19.00, -46.19)
CIE-LCHlch(42.13, 49.94, 292.36°)
OKLaboklab(50.82% 0.0072 -0.1316)
OKLCHoklch(50.82% 0.132 273.1)
XYZxyz(14.8902, 12.5819, 42.7098)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB0 #B0A14E
analogous
#4E8EB0 #4E5DB0 #704EB0
triadic
#4E5DB0 #B04E5D #5DB04E
tetradic
#4E5DB0 #B04E8E #B0A14E #4EB070
square
#4E5DB0 #B04E8E #B0A14E #4EB070
split-complementary
#4E5DB0 #B0704E #8EB04E
monochromatic
#28305B #3B4786 #4E5DB0 #7884C3 #A2AAD6

Accessibility & contrast

On white

5.97
#4E5DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E5DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DB0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB0#FFFFFF#000000##FFFFFF
##4E5DB01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#2A5FAE
Tritanopia (blue-blind)
#196F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5db0;
/* rgb */ color: rgb(78, 93, 176);
/* oklch */ color: oklch(50.8% 0.132 273.1);
Tailwind
colors: {
  custom: {
    50: '#878ac8',
    500: '#4e5db0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db0;
$custom-light: #878ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db0",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 230.816,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.13183,
    "h": 273.1
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#4E5DB0
secondary
#C3BC97
accent
#BD59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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