#4E498B#4E498B

#4E498B is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.106 H 284.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E498B
RGBrgb(78, 73, 139)
HSLhsl(245, 31%, 42%)
HSVhsv(245, 47%, 55%)
CMYKcmyk(43.9%, 47.5%, 0%, 45.5%)
CIE-LABlab(34.50, 19.82, -36.18)
CIE-LCHlch(34.50, 41.26, 298.72°)
OKLaboklab(44.31% 0.0268 -0.1024)
OKLCHoklch(44.31% 0.106 284.6)
XYZxyz(10.1833, 8.2485, 25.4766)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E498B #868B49
analogous
#49658B #4E498B #6F498B
triadic
#4E498B #8B4E49 #498B4E
tetradic
#4E498B #8B4965 #868B49 #498B6F
square
#4E498B #8B4965 #868B49 #498B6F
split-complementary
#4E498B #8B6F49 #658B49
monochromatic
#211F3B #373463 #4E498B #6964AD #908CC3

Accessibility & contrast

On white

7.93
#4E498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E498B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E498B#FFFFFF#000000##FFFFFF
##4E498B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#3B5663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e498b;
/* rgb */ color: rgb(78, 73, 139);
/* oklch */ color: oklch(44.3% 0.106 284.6);
Tailwind
colors: {
  custom: {
    50: '#837bad',
    500: '#4e498b',
    950: '#000000',
  },
}
SCSS
$custom: #4e498b;
$custom-light: #837bad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e498b",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 244.545,
    "s": 31.132,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.10586,
    "h": 284.6
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#4E498B
secondary
#ABAE81
accent
#C760C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E498B

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

Preview Lab → · Contrast checker → · Palette generator →

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