#4E5DB7#4E5DB7

#4E5DB7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.142 H 273.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB7
RGBrgb(78, 93, 183)
HSLhsl(231, 42%, 51%)
HSVhsv(231, 57%, 72%)
CMYKcmyk(57.4%, 49.2%, 0%, 28.2%)
CIE-LABlab(42.56, 21.34, -49.59)
CIE-LCHlch(42.56, 53.99, 293.29°)
OKLaboklab(51.29% 0.0081 -0.1416)
OKLCHoklch(51.29% 0.142 273.3)
XYZxyz(15.6007, 12.8661, 46.4519)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB7 #B7A84E
analogous
#4E91B7 #4E5DB7 #734EB7
triadic
#4E5DB7 #B74E5D #5DB74E
tetradic
#4E5DB7 #B74E91 #B7A84E #4EB773
square
#4E5DB7 #B74E91 #B7A84E #4EB773
split-complementary
#4E5DB7 #B7734E #91B74E
monochromatic
#283063 #3A468E #4E5DB7 #7A85C9 #A5ADDA

Accessibility & contrast

On white

5.88
#4E5DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5DB7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB7#FFFFFF#000000##FFFFFF
##4E5DB71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3069BA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#097181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db7;
/* rgb */ color: rgb(78, 93, 183);
/* oklch */ color: oklch(51.3% 0.142 273.3);
Tailwind
colors: {
  custom: {
    50: '#888acd',
    500: '#4e5db7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db7;
$custom-light: #888acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db7",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 231.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.14187,
    "h": 273.3
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#4E5DB7
secondary
#C8C199
accent
#C056D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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