#4E5DB5#4E5DB5

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

Color values

HEX#4E5DB5
RGBrgb(78, 93, 181)
HSLhsl(231, 41%, 51%)
HSVhsv(231, 57%, 71%)
CMYKcmyk(56.9%, 48.6%, 0%, 29%)
CIE-LABlab(42.44, 20.67, -48.62)
CIE-LCHlch(42.44, 52.84, 293.03°)
OKLaboklab(51.16% 0.0078 -0.1388)
OKLCHoklch(51.16% 0.139 273.2)
XYZxyz(15.3940, 12.7835, 45.3634)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB5 #B5A64E
analogous
#4E90B5 #4E5DB5 #724EB5
triadic
#4E5DB5 #B54E5D #5DB54E
tetradic
#4E5DB5 #B54E90 #B5A64E #4EB572
square
#4E5DB5 #B54E90 #B5A64E #4EB572
split-complementary
#4E5DB5 #B5724E #90B54E
monochromatic
#283060 #3A468B #4E5DB5 #7984C7 #A4ACD9

Accessibility & contrast

On white

5.90
#4E5DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E5DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DB5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB5#FFFFFF#000000##FFFFFF
##4E5DB51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#0F7180
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db5;
/* rgb */ color: rgb(78, 93, 181);
/* oklch */ color: oklch(51.2% 0.139 273.2);
Tailwind
colors: {
  custom: {
    50: '#888acc',
    500: '#4e5db5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db5;
$custom-light: #888acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db5",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 231.262,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.13901,
    "h": 273.2
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#4E5DB5
secondary
#C6C099
accent
#BF57D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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