#4C4E95#4C4E95

#4C4E95 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.114 H 279.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4C4E95
RGBrgb(76, 78, 149)
HSLhsl(238, 32%, 44%)
HSVhsv(238, 49%, 58%)
CMYKcmyk(49%, 47.7%, 0%, 41.6%)
CIE-LABlab(36.28, 19.26, -39.44)
CIE-LCHlch(36.28, 43.89, 296.03°)
OKLaboklab(45.82% 0.0191 -0.112)
OKLCHoklch(45.82% 0.114 279.7)
XYZxyz(11.1280, 9.1546, 29.6086)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E95 #95934C
analogous
#4C7395 #4C4E95 #6F4C95
triadic
#4C4E95 #954C4E #4E954C
tetradic
#4C4E95 #954C73 #95934C #4C956F
square
#4C4E95 #954C73 #95934C #4C956F
split-complementary
#4C4E95 #956F4C #73954C
monochromatic
#232444 #37396C #4C4E95 #6B6DB3 #9395C8

Accessibility & contrast

On white

7.42
#4C4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4C4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E95
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E95#FFFFFF#000000##FFFFFF
##4C4E951.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#2A5393
Tritanopia (blue-blind)
#315D6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c4e95;
/* rgb */ color: rgb(76, 78, 149);
/* oklch */ color: oklch(45.8% 0.114 279.7);
Tailwind
colors: {
  custom: {
    50: '#837fb4',
    500: '#4c4e95',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e95;
$custom-light: #837fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e95",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 238.356,
    "s": 32.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.1136,
    "h": 279.7
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#4C4E95
secondary
#B4B388
accent
#C65FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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