#4E459F#4E459F

#4E459F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.141 H 283.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4E459F
RGBrgb(78, 69, 159)
HSLhsl(246, 39%, 45%)
HSVhsv(246, 57%, 62%)
CMYKcmyk(50.9%, 56.6%, 0%, 37.6%)
CIE-LABlab(34.76, 28.70, -47.91)
CIE-LCHlch(34.76, 55.85, 300.92°)
OKLaboklab(44.93% 0.0334 -0.1369)
OKLCHoklch(44.93% 0.141 283.7)
XYZxyz(11.5261, 8.3786, 33.8041)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E459F #969F45
analogous
#45699F #4E459F #7B459F
triadic
#4E459F #9F4E45 #459F4E
tetradic
#4E459F #9F4569 #969F45 #459F7B
square
#4E459F #9F4569 #969F45 #459F7B
split-complementary
#4E459F #9F7B45 #699F45
monochromatic
#24204A #393274 #4E459F #6E65BC #9690CF

Accessibility & contrast

On white

7.85
#4E459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E459F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E459F#FFFFFF#000000##FFFFFF
##4E459F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#30596B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e459f;
/* rgb */ color: rgb(78, 69, 159);
/* oklch */ color: oklch(44.9% 0.141 283.7);
Tailwind
colors: {
  custom: {
    50: '#8679bc',
    500: '#4e459f',
    950: '#000000',
  },
}
SCSS
$custom: #4e459f;
$custom-light: #8679bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e459f",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 246,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.14089,
    "h": 283.7
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#4E459F
secondary
#B5BA86
accent
#CF58C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E459F

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

Preview Lab → · Contrast checker → · Palette generator →

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