#4E5EB5#4E5EB5

#4E5EB5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.138 H 272.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB5
RGBrgb(78, 94, 181)
HSLhsl(231, 41%, 51%)
HSVhsv(231, 57%, 71%)
CMYKcmyk(56.9%, 48.1%, 0%, 29%)
CIE-LABlab(42.70, 20.04, -48.20)
CIE-LCHlch(42.70, 52.19, 292.57°)
OKLaboklab(51.36% 0.0067 -0.1375)
OKLCHoklch(51.36% 0.138 272.8)
XYZxyz(15.4824, 12.9602, 45.3928)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB5 #B5A54E
analogous
#4E91B5 #4E5EB5 #714EB5
triadic
#4E5EB5 #B54E5E #5EB54E
tetradic
#4E5EB5 #B54E91 #B5A54E #4EB571
square
#4E5EB5 #B54E91 #B5A54E #4EB571
split-complementary
#4E5EB5 #B5714E #91B54E
monochromatic
#283160 #3A478B #4E5EB5 #7985C7 #A4ADD9

Accessibility & contrast

On white

5.85
#4E5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E5EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB5#FFFFFF#000000##FFFFFF
##4E5EB51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#0E7181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb5;
/* rgb */ color: rgb(78, 94, 181);
/* oklch */ color: oklch(51.4% 0.138 272.8);
Tailwind
colors: {
  custom: {
    50: '#888bcc',
    500: '#4e5eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb5;
$custom-light: #888bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb5",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 230.68,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.13769,
    "h": 272.8
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#4E5EB5
secondary
#C6BF99
accent
#BE57D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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