#4C4E9D#4C4E9D

#4C4E9D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.125 H 279.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4C4E9D
RGBrgb(76, 78, 157)
HSLhsl(239, 35%, 46%)
HSVhsv(239, 52%, 62%)
CMYKcmyk(51.6%, 50.3%, 0%, 38.4%)
CIE-LABlab(36.78, 21.86, -43.47)
CIE-LCHlch(36.78, 48.65, 296.70°)
OKLaboklab(46.36% 0.0201 -0.1238)
OKLCHoklch(46.36% 0.125 279.2)
XYZxyz(11.7888, 9.4189, 33.0886)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E9D #9D9B4C
analogous
#4C769D #4C4E9D #724C9D
triadic
#4C4E9D #9D4C4E #4E9D4C
tetradic
#4C4E9D #9D4C76 #9D9B4C #4C9D72
square
#4C4E9D #9D4C76 #9D9B4C #4C9D72
split-complementary
#4C4E9D #9D724C #769D4C
monochromatic
#24254B #383A74 #4C4E9D #6E6FB9 #9798CD

Accessibility & contrast

On white

7.28
#4C4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4C4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E9D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E9D#FFFFFF#000000##FFFFFF
##4C4E9D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#2B5F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c4e9d;
/* rgb */ color: rgb(76, 78, 157);
/* oklch */ color: oklch(46.4% 0.125 279.2);
Tailwind
colors: {
  custom: {
    50: '#847fba',
    500: '#4c4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e9d;
$custom-light: #847fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e9d",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 238.519,
    "s": 34.764,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.12544,
    "h": 279.2
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#4C4E9D
secondary
#B9B88C
accent
#C85DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4C4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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