#4C4E89#4C4E89

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

Color values

HEX#4C4E89
RGBrgb(76, 78, 137)
HSLhsl(238, 29%, 42%)
HSVhsv(238, 45%, 54%)
CMYKcmyk(44.5%, 43.1%, 0%, 46.3%)
CIE-LABlab(35.58, 15.43, -33.25)
CIE-LCHlch(35.58, 36.65, 294.90°)
OKLaboklab(45.06% 0.0172 -0.0939)
OKLCHoklch(45.06% 0.095 280.4)
XYZxyz(10.2189, 8.7910, 24.8204)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E89 #89874C
analogous
#4C6D89 #4C4E89 #694C89
triadic
#4C4E89 #894C4E #4E894C
tetradic
#4C4E89 #894C6D #89874C #4C8969
square
#4C4E89 #894C6D #89874C #4C8969
split-complementary
#4C4E89 #89694C #6D894C
monochromatic
#20213A #363862 #4C4E89 #676AAB #8F90C1

Accessibility & contrast

On white

7.61
#4C4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E89
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E89#FFFFFF#000000##FFFFFF
##4C4E891.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4e89;
/* rgb */ color: rgb(76, 78, 137);
/* oklch */ color: oklch(45.1% 0.095 280.4);
Tailwind
colors: {
  custom: {
    50: '#817fac',
    500: '#4c4e89',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e89;
$custom-light: #817fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e89",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 238.033,
    "s": 28.638,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.09542,
    "h": 280.4
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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