#4E5BA4#4E5BA4

#4E5BA4 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.6% C 0.117 H 273.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E5BA4
RGBrgb(78, 91, 164)
HSLhsl(231, 36%, 47%)
HSVhsv(231, 52%, 64%)
CMYKcmyk(52.4%, 44.5%, 0%, 35.7%)
CIE-LABlab(40.87, 16.29, -41.11)
CIE-LCHlch(40.87, 44.22, 291.61°)
OKLaboklab(49.63% 0.0077 -0.1167)
OKLCHoklch(49.63% 0.117 273.8)
XYZxyz(13.5817, 11.7813, 36.6731)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BA4 #A4974E
analogous
#4E86A4 #4E5BA4 #6C4EA4
triadic
#4E5BA4 #A44E5B #5BA44E
tetradic
#4E5BA4 #A44E86 #A4974E #4EA46C
square
#4E5BA4 #A44E86 #A4974E #4EA46C
split-complementary
#4E5BA4 #A46C4E #86A44E
monochromatic
#272D51 #3A447B #4E5BA4 #737EBC #9CA4D0

Accessibility & contrast

On white

6.26
#4E5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E5BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BA4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BA4#FFFFFF#000000##FFFFFF
##4E5BA41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#286B77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5ba4;
/* rgb */ color: rgb(78, 91, 164);
/* oklch */ color: oklch(49.6% 0.117 273.8);
Tailwind
colors: {
  custom: {
    50: '#8589bf',
    500: '#4e5ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ba4;
$custom-light: #8589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ba4",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 230.93,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.11699,
    "h": 273.8
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#4E5BA4
secondary
#BDB691
accent
#BB5CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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