#4C4E91#4C4E91

#4C4E91 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.108 H 279.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4C4E91
RGBrgb(76, 78, 145)
HSLhsl(238, 31%, 43%)
HSVhsv(238, 48%, 57%)
CMYKcmyk(47.6%, 46.2%, 0%, 43.1%)
CIE-LABlab(36.04, 17.97, -37.39)
CIE-LCHlch(36.04, 41.49, 295.67°)
OKLaboklab(45.56% 0.0186 -0.106)
OKLCHoklch(45.56% 0.108 279.9)
XYZxyz(10.8142, 9.0291, 27.9555)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E91 #918F4C
analogous
#4C7091 #4C4E91 #6C4C91
triadic
#4C4E91 #914C4E #4E914C
tetradic
#4C4E91 #914C70 #918F4C #4C916C
square
#4C4E91 #914C70 #918F4C #4C916C
split-complementary
#4C4E91 #916C4C #70914C
monochromatic
#222341 #373869 #4C4E91 #6A6CB1 #9293C6

Accessibility & contrast

On white

7.48
#4C4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4C4E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E91
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E91#FFFFFF#000000##FFFFFF
##4C4E911.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#345C68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c4e91;
/* rgb */ color: rgb(76, 78, 145);
/* oklch */ color: oklch(45.6% 0.108 279.9);
Tailwind
colors: {
  custom: {
    50: '#827fb1',
    500: '#4c4e91',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e91;
$custom-light: #827fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e91",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 238.261,
    "s": 31.222,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45558,
    "c": 0.1076,
    "h": 279.9
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#4C4E91
secondary
#B2B187
accent
#C460C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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