#4E5EB7#4E5EB7

#4E5EB7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.141 H 272.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB7
RGBrgb(78, 94, 183)
HSLhsl(231, 42%, 51%)
HSVhsv(231, 57%, 72%)
CMYKcmyk(57.4%, 48.6%, 0%, 28.2%)
CIE-LABlab(42.83, 20.71, -49.17)
CIE-LCHlch(42.83, 53.35, 292.84°)
OKLaboklab(51.49% 0.007 -0.1404)
OKLCHoklch(51.49% 0.141 272.9)
XYZxyz(15.6890, 13.0428, 46.4813)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB7 #B7A74E
analogous
#4E92B7 #4E5EB7 #724EB7
triadic
#4E5EB7 #B74E5E #5EB74E
tetradic
#4E5EB7 #B74E92 #B7A74E #4EB772
square
#4E5EB7 #B74E92 #B7A74E #4EB772
split-complementary
#4E5EB7 #B7724E #92B74E
monochromatic
#283163 #3A478E #4E5EB7 #7A86C9 #A5ADDA

Accessibility & contrast

On white

5.82
#4E5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E5EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB7#FFFFFF#000000##FFFFFF
##4E5EB71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#087282
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb7;
/* rgb */ color: rgb(78, 94, 183);
/* oklch */ color: oklch(51.5% 0.141 272.9);
Tailwind
colors: {
  custom: {
    50: '#888bcd',
    500: '#4e5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb7;
$custom-light: #888bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb7",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 230.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.14054,
    "h": 272.9
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#4E5EB7
secondary
#C8C199
accent
#BF56D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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