#4E5BA2#4E5BA2

#4E5BA2 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.5% C 0.114 H 273.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E5BA2
RGBrgb(78, 91, 162)
HSLhsl(231, 35%, 47%)
HSVhsv(231, 52%, 64%)
CMYKcmyk(51.9%, 43.8%, 0%, 36.5%)
CIE-LABlab(40.75, 15.63, -40.10)
CIE-LCHlch(40.75, 43.04, 291.29°)
OKLaboklab(49.51% 0.0074 -0.1138)
OKLCHoklch(49.51% 0.114 273.7)
XYZxyz(13.4025, 11.7097, 35.7294)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BA2 #A2954E
analogous
#4E85A2 #4E5BA2 #6B4EA2
triadic
#4E5BA2 #A24E5B #5BA24E
tetradic
#4E5BA2 #A24E85 #A2954E #4EA26B
square
#4E5BA2 #A24E85 #A2954E #4EA26B
split-complementary
#4E5BA2 #A26B4E #85A24E
monochromatic
#262D4F #3A4479 #4E5BA2 #727DBB #9BA3CF

Accessibility & contrast

On white

6.28
#4E5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BA2#FFFFFF#000000##FFFFFF
##4E5BA21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#2A6A76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5ba2;
/* rgb */ color: rgb(78, 91, 162);
/* oklch */ color: oklch(49.5% 0.114 273.7);
Tailwind
colors: {
  custom: {
    50: '#8589be',
    500: '#4e5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ba2;
$custom-light: #8589be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ba2",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 230.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.11403,
    "h": 273.7
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#4E5BA2
secondary
#BCB590
accent
#BA5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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