#4E5BA1#4E5BA1

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

Color values

HEX#4E5BA1
RGBrgb(78, 91, 161)
HSLhsl(231, 35%, 47%)
HSVhsv(231, 52%, 63%)
CMYKcmyk(51.6%, 43.5%, 0%, 36.9%)
CIE-LABlab(40.69, 15.30, -39.60)
CIE-LCHlch(40.69, 42.45, 291.13°)
OKLaboklab(49.44% 0.0072 -0.1123)
OKLCHoklch(49.44% 0.113 273.7)
XYZxyz(13.3139, 11.6742, 35.2631)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BA1 #A1944E
analogous
#4E85A1 #4E5BA1 #6B4EA1
triadic
#4E5BA1 #A14E5B #5BA14E
tetradic
#4E5BA1 #A14E85 #A1944E #4EA16B
square
#4E5BA1 #A14E85 #A1944E #4EA16B
split-complementary
#4E5BA1 #A16B4E #85A14E
monochromatic
#262C4F #3A4478 #4E5BA1 #727DBB #9BA3CF

Accessibility & contrast

On white

6.30
#4E5BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5BA1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BA1#FFFFFF#000000##FFFFFF
##4E5BA11.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A4
Deuteranopia (green-blind)
#365D9F
Tritanopia (blue-blind)
#2B6A76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5ba1;
/* rgb */ color: rgb(78, 91, 161);
/* oklch */ color: oklch(49.4% 0.113 273.7);
Tailwind
colors: {
  custom: {
    50: '#8589bd',
    500: '#4e5ba1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ba1;
$custom-light: #8589bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ba1",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 230.602,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.11255,
    "h": 273.7
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#4E5BA1
secondary
#BBB490
accent
#BA5DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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