#4E5CA1#4E5CA1

#4E5CA1 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.7% C 0.111 H 273.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5CA1
RGBrgb(78, 92, 161)
HSLhsl(230, 35%, 47%)
HSVhsv(230, 52%, 63%)
CMYKcmyk(51.6%, 42.9%, 0%, 36.9%)
CIE-LABlab(40.97, 14.67, -39.16)
CIE-LCHlch(40.97, 41.81, 290.53°)
OKLaboklab(49.66% 0.006 -0.111)
OKLCHoklch(49.66% 0.111 273.1)
XYZxyz(13.4000, 11.8464, 35.2918)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CA1 #A1934E
analogous
#4E86A1 #4E5CA1 #6A4EA1
triadic
#4E5CA1 #A14E5C #5CA14E
tetradic
#4E5CA1 #A14E86 #A1934E #4EA16A
square
#4E5CA1 #A14E86 #A1934E #4EA16A
split-complementary
#4E5CA1 #A16A4E #86A14E
monochromatic
#262D4F #3A4478 #4E5CA1 #727EBB #9BA4CF

Accessibility & contrast

On white

6.23
#4E5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E5CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CA1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CA1#FFFFFF#000000##FFFFFF
##4E5CA11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#375D9F
Tritanopia (blue-blind)
#2B6B76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5ca1;
/* rgb */ color: rgb(78, 92, 161);
/* oklch */ color: oklch(49.7% 0.111 273.1);
Tailwind
colors: {
  custom: {
    50: '#8589bd',
    500: '#4e5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ca1;
$custom-light: #8589bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ca1",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 229.88,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.11118,
    "h": 273.1
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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