#4E489C#4E489C

#4E489C is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.132 H 283.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E489C
RGBrgb(78, 72, 156)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 61%)
CMYKcmyk(50%, 53.8%, 0%, 38.8%)
CIE-LABlab(35.31, 25.84, -45.21)
CIE-LCHlch(35.31, 52.08, 299.75°)
OKLaboklab(45.27% 0.0297 -0.1289)
OKLCHoklch(45.27% 0.132 283)
XYZxyz(11.4582, 8.6541, 32.5127)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489C #969C48
analogous
#486C9C #4E489C #78489C
triadic
#4E489C #9C4E48 #489C4E
tetradic
#4E489C #9C486C #969C48 #489C78
square
#4E489C #9C486C #969C48 #489C78
split-complementary
#4E489C #9C7848 #6C9C48
monochromatic
#242148 #393572 #4E489C #6E68B9 #9692CD

Accessibility & contrast

On white

7.69
#4E489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E489C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489C#FFFFFF#000000##FFFFFF
##4E489C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#315A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e489c;
/* rgb */ color: rgb(78, 72, 156);
/* oklch */ color: oklch(45.3% 0.132 283.0);
Tailwind
colors: {
  custom: {
    50: '#857bba',
    500: '#4e489c',
    950: '#000000',
  },
}
SCSS
$custom: #4e489c;
$custom-light: #857bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489c",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 244.286,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.13232,
    "h": 283
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#4E489C
secondary
#B5B887
accent
#CD5BC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4E489C

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

Preview Lab → · Contrast checker → · Palette generator →

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