#4E4C90#4E4C90

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

Color values

HEX#4E4C90
RGBrgb(78, 76, 144)
HSLhsl(242, 31%, 43%)
HSVhsv(242, 47%, 56%)
CMYKcmyk(45.8%, 47.2%, 0%, 43.5%)
CIE-LABlab(35.60, 19.46, -37.48)
CIE-LCHlch(35.60, 42.22, 297.44°)
OKLaboklab(45.25% 0.0235 -0.1062)
OKLCHoklch(45.25% 0.109 282.5)
XYZxyz(10.7589, 8.8017, 27.5122)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C90 #8E904C
analogous
#4C6C90 #4E4C90 #704C90
triadic
#4E4C90 #904E4C #4C904E
tetradic
#4E4C90 #904C6C #8E904C #4C9070
square
#4E4C90 #904C6C #8E904C #4C9070
split-complementary
#4E4C90 #90704C #6C904C
monochromatic
#232240 #383768 #4E4C90 #6B69B0 #9391C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4C90#FFFFFF#000000##FFFFFF
##4E4C901.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)
#315693
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#395A67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4c90;
/* rgb */ color: rgb(78, 76, 144);
/* oklch */ color: oklch(45.2% 0.109 282.5);
Tailwind
colors: {
  custom: {
    50: '#837eb1',
    500: '#4e4c90',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c90;
$custom-light: #837eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c90",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 241.765,
    "s": 30.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.10877,
    "h": 282.5
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#4E4C90
secondary
#B0B186
accent
#C761C4
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4C90

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

Preview Lab → · Contrast checker → · Palette generator →

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