#4E5DB2#4E5DB2

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

Color values

HEX#4E5DB2
RGBrgb(78, 93, 178)
HSLhsl(231, 39%, 50%)
HSVhsv(231, 56%, 70%)
CMYKcmyk(56.2%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.25, 19.66, -47.16)
CIE-LCHlch(42.25, 51.10, 292.63°)
OKLaboklab(50.96% 0.0075 -0.1345)
OKLCHoklch(50.96% 0.135 273.2)
XYZxyz(15.0895, 12.6617, 43.7596)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DB2 #B2A34E
analogous
#4E8FB2 #4E5DB2 #714EB2
triadic
#4E5DB2 #B24E5D #5DB24E
tetradic
#4E5DB2 #B24E8F #B2A34E #4EB271
square
#4E5DB2 #B24E8F #B2A34E #4EB271
split-complementary
#4E5DB2 #B2714E #8FB24E
monochromatic
#29305D #3B4788 #4E5DB2 #7984C5 #A3ABD7

Accessibility & contrast

On white

5.94
#4E5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DB2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DB2#FFFFFF#000000##FFFFFF
##4E5DB21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#15707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5db2;
/* rgb */ color: rgb(78, 93, 178);
/* oklch */ color: oklch(51.0% 0.135 273.2);
Tailwind
colors: {
  custom: {
    50: '#878ac9',
    500: '#4e5db2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5db2;
$custom-light: #878ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5db2",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 231,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.13471,
    "h": 273.2
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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