#4E5DB1#4E5DB1

#4E5DB1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.133 H 273.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E5DB1
RGBrgb(78, 93, 177)
HSLhsl(231, 39%, 50%)
HSVhsv(231, 56%, 69%)
CMYKcmyk(55.9%, 47.5%, 0%, 30.6%)
CIE-LABlab(42.19, 19.33, -46.68)
CIE-LCHlch(42.19, 50.52, 292.50°)
OKLaboklab(50.89% 0.0073 -0.1331)
OKLCHoklch(50.89% 0.133 273.2)
XYZxyz(14.9895, 12.6217, 43.2328)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB1 #B1A24E
analogous
#4E8FB1 #4E5DB1 #704EB1
triadic
#4E5DB1 #B14E5D #5DB14E
tetradic
#4E5DB1 #B14E8F #B1A24E #4EB170
square
#4E5DB1 #B14E8F #B1A24E #4EB170
split-complementary
#4E5DB1 #B1704E #8FB14E
monochromatic
#29305C #3B4787 #4E5DB1 #7884C4 #A3ABD6

Accessibility & contrast

On white

5.96
#4E5DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5DB1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB1#FFFFFF#000000##FFFFFF
##4E5DB11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#17707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db1;
/* rgb */ color: rgb(78, 93, 177);
/* oklch */ color: oklch(50.9% 0.133 273.2);
Tailwind
colors: {
  custom: {
    50: '#878ac9',
    500: '#4e5db1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db1;
$custom-light: #878ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db1",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 230.909,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.13326,
    "h": 273.2
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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