#4E5EB9#4E5EB9

#4E5EB9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.143 H 272.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5EB9
RGBrgb(78, 94, 185)
HSLhsl(231, 43%, 52%)
HSVhsv(231, 58%, 73%)
CMYKcmyk(57.8%, 49.2%, 0%, 27.5%)
CIE-LABlab(42.95, 21.38, -50.13)
CIE-LCHlch(42.95, 54.50, 293.10°)
OKLaboklab(51.63% 0.0072 -0.1432)
OKLCHoklch(51.63% 0.143 272.9)
XYZxyz(15.8987, 13.1267, 47.5854)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EB9 #B9A94E
analogous
#4E94B9 #4E5EB9 #744EB9
triadic
#4E5EB9 #B94E5E #5EB94E
tetradic
#4E5EB9 #B94E94 #B9A94E #4EB974
square
#4E5EB9 #B94E94 #B9A94E #4EB974
split-complementary
#4E5EB9 #B9744E #94B94E
monochromatic
#283165 #394691 #4E5EB9 #7A86CA #A6AEDC

Accessibility & contrast

On white

5.79
#4E5EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E5EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EB9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EB9#FFFFFF#000000##FFFFFF
##4E5EB91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABC
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#017283
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5eb9;
/* rgb */ color: rgb(78, 94, 185);
/* oklch */ color: oklch(51.6% 0.143 272.9);
Tailwind
colors: {
  custom: {
    50: '#888bcf',
    500: '#4e5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eb9;
$custom-light: #888bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eb9",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 231.028,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.14339,
    "h": 272.9
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#4E5EB9
secondary
#C9C29A
accent
#C055D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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