#4E5DB6#4E5DB6

#4E5DB6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.140 H 273.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB6
RGBrgb(78, 93, 182)
HSLhsl(231, 42%, 51%)
HSVhsv(231, 57%, 71%)
CMYKcmyk(57.1%, 48.9%, 0%, 28.6%)
CIE-LABlab(42.50, 21.01, -49.11)
CIE-LCHlch(42.50, 53.41, 293.16°)
OKLaboklab(51.22% 0.008 -0.1402)
OKLCHoklch(51.22% 0.14 273.2)
XYZxyz(15.4970, 12.8247, 45.9057)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB6 #B6A74E
analogous
#4E91B6 #4E5DB6 #734EB6
triadic
#4E5DB6 #B64E5D #5DB64E
tetradic
#4E5DB6 #B64E91 #B6A74E #4EB673
square
#4E5DB6 #B64E91 #B6A74E #4EB673
split-complementary
#4E5DB6 #B6734E #91B64E
monochromatic
#283061 #3A468D #4E5DB6 #7985C8 #A5ACDA

Accessibility & contrast

On white

5.89
#4E5DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E5DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DB6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB6#FFFFFF#000000##FFFFFF
##4E5DB61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169B9
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#0C7181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db6;
/* rgb */ color: rgb(78, 93, 182);
/* oklch */ color: oklch(51.2% 0.140 273.2);
Tailwind
colors: {
  custom: {
    50: '#888acc',
    500: '#4e5db6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db6;
$custom-light: #888acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db6",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 231.346,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.14045,
    "h": 273.2
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#4E5DB6
secondary
#C7C099
accent
#C056D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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