#4C4D97#4C4D97

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

Color values

HEX#4C4D97
RGBrgb(76, 77, 151)
HSLhsl(239, 33%, 45%)
HSVhsv(239, 50%, 59%)
CMYKcmyk(49.7%, 49%, 0%, 40.8%)
CIE-LABlab(36.13, 20.55, -40.88)
CIE-LCHlch(36.13, 45.75, 296.69°)
OKLaboklab(45.75% 0.0207 -0.1162)
OKLCHoklch(45.75% 0.118 280.1)
XYZxyz(11.2186, 9.0780, 30.4333)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4D97 #97964C
analogous
#4C7397 #4C4D97 #714C97
triadic
#4C4D97 #974C4D #4D974C
tetradic
#4C4D97 #974C73 #97964C #4C9771
square
#4C4D97 #974C73 #97964C #4C9771
split-complementary
#4C4D97 #97714C #73974C
monochromatic
#232346 #38386E #4C4D97 #6B6CB5 #9495C9

Accessibility & contrast

On white

7.46
#4C4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4D97
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4D97#FFFFFF#000000##FFFFFF
##4C4D971.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#305D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c4d97;
/* rgb */ color: rgb(76, 77, 151);
/* oklch */ color: oklch(45.7% 0.118 280.1);
Tailwind
colors: {
  custom: {
    50: '#837eb6',
    500: '#4c4d97',
    950: '#000000',
  },
}
SCSS
$custom: #4c4d97;
$custom-light: #837eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4d97",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 239.2,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.11805,
    "h": 280.1
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#4C4D97
secondary
#B6B589
accent
#C85FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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