#4E5CA4#4E5CA4

#4E5CA4 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.8% C 0.116 H 273.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E5CA4
RGBrgb(78, 92, 164)
HSLhsl(230, 36%, 47%)
HSVhsv(230, 52%, 64%)
CMYKcmyk(52.4%, 43.9%, 0%, 35.7%)
CIE-LABlab(41.14, 15.65, -40.67)
CIE-LCHlch(41.14, 43.58, 291.05°)
OKLaboklab(49.84% 0.0065 -0.1154)
OKLCHoklch(49.84% 0.116 273.2)
XYZxyz(13.6677, 11.9534, 36.7018)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CA4 #A4964E
analogous
#4E87A4 #4E5CA4 #6B4EA4
triadic
#4E5CA4 #A44E5C #5CA44E
tetradic
#4E5CA4 #A44E87 #A4964E #4EA46B
square
#4E5CA4 #A44E87 #A4964E #4EA46B
split-complementary
#4E5CA4 #A46B4E #87A44E
monochromatic
#272D51 #3A457B #4E5CA4 #737FBC #9CA5D0

Accessibility & contrast

On white

6.19
#4E5CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5CA4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CA4#FFFFFF#000000##FFFFFF
##4E5CA41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#286B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5ca4;
/* rgb */ color: rgb(78, 92, 164);
/* oklch */ color: oklch(49.8% 0.116 273.2);
Tailwind
colors: {
  custom: {
    50: '#8589bf',
    500: '#4e5ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ca4;
$custom-light: #8589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ca4",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 230.233,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.11562,
    "h": 273.2
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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