#4C4E8F#4C4E8F

#4C4E8F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.4% C 0.105 H 280.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4C4E8F
RGBrgb(76, 78, 143)
HSLhsl(238, 31%, 43%)
HSVhsv(238, 47%, 56%)
CMYKcmyk(46.9%, 45.5%, 0%, 43.9%)
CIE-LABlab(35.92, 17.33, -36.36)
CIE-LCHlch(35.92, 40.28, 295.48°)
OKLaboklab(45.43% 0.0182 -0.103)
OKLCHoklch(45.43% 0.105 280)
XYZxyz(10.6613, 8.9679, 27.1505)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E8F #8F8D4C
analogous
#4C6F8F #4C4E8F #6B4C8F
triadic
#4C4E8F #8F4C4E #4E8F4C
tetradic
#4C4E8F #8F4C6F #8F8D4C #4C8F6B
square
#4C4E8F #8F4C6F #8F8D4C #4C8F6B
split-complementary
#4C4E8F #8F6B4C #6F8F4C
monochromatic
#22223F #373867 #4C4E8F #696BAF #9192C4

Accessibility & contrast

On white

7.52
#4C4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4C4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E8F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E8F#FFFFFF#000000##FFFFFF
##4C4E8F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#355B67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c4e8f;
/* rgb */ color: rgb(76, 78, 143);
/* oklch */ color: oklch(45.4% 0.105 280.0);
Tailwind
colors: {
  custom: {
    50: '#827fb0',
    500: '#4c4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e8f;
$custom-light: #827fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e8f",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 238.209,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.10458,
    "h": 280
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#4C4E8F
secondary
#B1AF86
accent
#C461C7
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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