#4E5DB4#4E5DB4

#4E5DB4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.138 H 273.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB4
RGBrgb(78, 93, 180)
HSLhsl(231, 40%, 51%)
HSVhsv(231, 57%, 71%)
CMYKcmyk(56.7%, 48.3%, 0%, 29.4%)
CIE-LABlab(42.37, 20.34, -48.14)
CIE-LCHlch(42.37, 52.26, 292.90°)
OKLaboklab(51.09% 0.0077 -0.1374)
OKLCHoklch(51.09% 0.138 273.2)
XYZxyz(15.2918, 12.7426, 44.8249)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB4 #B4A54E
analogous
#4E90B4 #4E5DB4 #724EB4
triadic
#4E5DB4 #B44E5D #5DB44E
tetradic
#4E5DB4 #B44E90 #B4A54E #4EB472
square
#4E5DB4 #B44E90 #B4A54E #4EB472
split-complementary
#4E5DB4 #B4724E #90B44E
monochromatic
#28305F #3B468A #4E5DB4 #7984C6 #A4ACD8

Accessibility & contrast

On white

5.92
#4E5DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4E5DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DB4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB4#FFFFFF#000000##FFFFFF
##4E5DB41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#117080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db4;
/* rgb */ color: rgb(78, 93, 180);
/* oklch */ color: oklch(51.1% 0.138 273.2);
Tailwind
colors: {
  custom: {
    50: '#888acb',
    500: '#4e5db4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db4;
$custom-light: #888acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db4",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 231.176,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.13758,
    "h": 273.2
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#4E5DB4
secondary
#C6BF98
accent
#BF57D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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