#4C4E8A#4C4E8A

#4C4E8A is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.097 H 280.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4C4E8A
RGBrgb(76, 78, 138)
HSLhsl(238, 29%, 42%)
HSVhsv(238, 45%, 54%)
CMYKcmyk(44.9%, 43.5%, 0%, 45.9%)
CIE-LABlab(35.63, 15.75, -33.77)
CIE-LCHlch(35.63, 37.26, 295.00°)
OKLaboklab(45.12% 0.0174 -0.0954)
OKLCHoklch(45.12% 0.097 280.3)
XYZxyz(10.2910, 8.8198, 25.2000)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E8A #8A884C
analogous
#4C6D8A #4C4E8A #694C8A
triadic
#4C4E8A #8A4C4E #4E8A4C
tetradic
#4C4E8A #8A4C6D #8A884C #4C8A69
square
#4C4E8A #8A4C6D #8A884C #4C8A69
split-complementary
#4C4E8A #8A694C #6D8A4C
monochromatic
#21213B #363863 #4C4E8A #686AAC #8F91C1

Accessibility & contrast

On white

7.60
#4C4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4C4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E8A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E8A#FFFFFF#000000##FFFFFF
##4C4E8A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#385A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c4e8a;
/* rgb */ color: rgb(76, 78, 138);
/* oklch */ color: oklch(45.1% 0.097 280.3);
Tailwind
colors: {
  custom: {
    50: '#817fac',
    500: '#4c4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e8a;
$custom-light: #817fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e8a",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 238.065,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.09696,
    "h": 280.3
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#4C4E8A
secondary
#AEAC84
accent
#C263C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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