#4E5EB4#4E5EB4

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

Color values

HEX#4E5EB4
RGBrgb(78, 94, 180)
HSLhsl(231, 40%, 51%)
HSVhsv(231, 57%, 71%)
CMYKcmyk(56.7%, 47.8%, 0%, 29.4%)
CIE-LABlab(42.64, 19.70, -47.71)
CIE-LCHlch(42.64, 51.62, 292.44°)
OKLaboklab(51.29% 0.0066 -0.1361)
OKLCHoklch(51.29% 0.136 272.8)
XYZxyz(15.3801, 12.9193, 44.8544)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB4 #B4A44E
analogous
#4E91B4 #4E5EB4 #714EB4
triadic
#4E5EB4 #B44E5E #5EB44E
tetradic
#4E5EB4 #B44E91 #B4A44E #4EB471
square
#4E5EB4 #B44E91 #B4A44E #4EB471
split-complementary
#4E5EB4 #B4714E #91B44E
monochromatic
#28315F #3B478A #4E5EB4 #7985C6 #A4ACD8

Accessibility & contrast

On white

5.86
#4E5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4E5EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB4#FFFFFF#000000##FFFFFF
##4E5EB41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#2761B2
Tritanopia (blue-blind)
#117180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb4;
/* rgb */ color: rgb(78, 94, 180);
/* oklch */ color: oklch(51.3% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#888bcb',
    500: '#4e5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb4;
$custom-light: #888bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb4",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 230.588,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.13625,
    "h": 272.8
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#4E5EB4
secondary
#C6BE98
accent
#BD57D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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