#4C4E93#4C4E93

#4C4E93 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.7% C 0.111 H 279.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4C4E93
RGBrgb(76, 78, 147)
HSLhsl(238, 32%, 44%)
HSVhsv(238, 48%, 58%)
CMYKcmyk(48.3%, 46.9%, 0%, 42.4%)
CIE-LABlab(36.16, 18.61, -38.42)
CIE-LCHlch(36.16, 42.69, 295.85°)
OKLaboklab(45.69% 0.0189 -0.109)
OKLCHoklch(45.69% 0.111 279.8)
XYZxyz(10.9697, 9.0913, 28.7749)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E93 #93914C
analogous
#4C7193 #4C4E93 #6D4C93
triadic
#4C4E93 #934C4E #4E934C
tetradic
#4C4E93 #934C71 #93914C #4C936D
square
#4C4E93 #934C71 #93914C #4C936D
split-complementary
#4C4E93 #936D4C #71934C
monochromatic
#222342 #37396B #4C4E93 #6A6CB2 #9294C7

Accessibility & contrast

On white

7.45
#4C4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4C4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E93
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E93#FFFFFF#000000##FFFFFF
##4C4E931.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#335D69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c4e93;
/* rgb */ color: rgb(76, 78, 147);
/* oklch */ color: oklch(45.7% 0.111 279.8);
Tailwind
colors: {
  custom: {
    50: '#827fb3',
    500: '#4c4e93',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e93;
$custom-light: #827fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e93",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 238.31,
    "s": 31.839,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.11061,
    "h": 279.8
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#4C4E93
secondary
#B3B288
accent
#C560C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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