#4E5BA8#4E5BA8

#4E5BA8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.123 H 273.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E5BA8
RGBrgb(78, 91, 168)
HSLhsl(231, 37%, 48%)
HSVhsv(231, 54%, 66%)
CMYKcmyk(53.6%, 45.8%, 0%, 34.1%)
CIE-LABlab(41.10, 17.61, -43.10)
CIE-LCHlch(41.10, 46.56, 292.22°)
OKLaboklab(49.89% 0.0084 -0.1226)
OKLCHoklch(49.89% 0.123 273.9)
XYZxyz(13.9486, 11.9281, 38.6055)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BA8 #A89B4E
analogous
#4E88A8 #4E5BA8 #6E4EA8
triadic
#4E5BA8 #A84E5B #5BA84E
tetradic
#4E5BA8 #A84E88 #A89B4E #4EA86E
square
#4E5BA8 #A84E88 #A89B4E #4EA86E
split-complementary
#4E5BA8 #A86E4E #88A84E
monochromatic
#272E54 #3B447E #4E5BA8 #757FBF #9EA6D2

Accessibility & contrast

On white

6.20
#4E5BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E5BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BA8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BA8#FFFFFF#000000##FFFFFF
##4E5BA81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#246C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5ba8;
/* rgb */ color: rgb(78, 91, 168);
/* oklch */ color: oklch(49.9% 0.123 273.9);
Tailwind
colors: {
  custom: {
    50: '#8689c2',
    500: '#4e5ba8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ba8;
$custom-light: #8689c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ba8",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 168
  },
  "hsl": {
    "h": 231.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.12288,
    "h": 273.9
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#4E5BA8
secondary
#BFB993
accent
#BC5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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