#4C4E97#4C4E97

#4C4E97 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 46.0% C 0.117 H 279.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4C4E97
RGBrgb(76, 78, 151)
HSLhsl(238, 33%, 45%)
HSVhsv(238, 50%, 59%)
CMYKcmyk(49.7%, 48.3%, 0%, 40.8%)
CIE-LABlab(36.40, 19.91, -40.45)
CIE-LCHlch(36.40, 45.08, 296.20°)
OKLaboklab(45.95% 0.0194 -0.115)
OKLCHoklch(45.95% 0.117 279.6)
XYZxyz(11.2891, 9.2190, 30.4568)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E97 #97954C
analogous
#4C7497 #4C4E97 #704C97
triadic
#4C4E97 #974C4E #4E974C
tetradic
#4C4E97 #974C74 #97954C #4C9770
square
#4C4E97 #974C74 #97954C #4C9770
split-complementary
#4C4E97 #97704C #74974C
monochromatic
#232446 #38396E #4C4E97 #6B6DB5 #9496C9

Accessibility & contrast

On white

7.38
#4C4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4C4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E97
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E97#FFFFFF#000000##FFFFFF
##4C4E971.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#285395
Tritanopia (blue-blind)
#305E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c4e97;
/* rgb */ color: rgb(76, 78, 151);
/* oklch */ color: oklch(46.0% 0.117 279.6);
Tailwind
colors: {
  custom: {
    50: '#837fb6',
    500: '#4c4e97',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e97;
$custom-light: #837fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e97",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 238.4,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.11659,
    "h": 279.6
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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