#4E489F#4E489F

#4E489F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.137 H 282.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4E489F
RGBrgb(78, 72, 159)
HSLhsl(244, 38%, 45%)
HSVhsv(244, 55%, 62%)
CMYKcmyk(50.9%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.51, 26.80, -46.70)
CIE-LCHlch(35.51, 53.84, 299.85°)
OKLaboklab(45.49% 0.0299 -0.1333)
OKLCHoklch(45.49% 0.137 282.6)
XYZxyz(11.7154, 8.7570, 33.8671)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489F #999F48
analogous
#486D9F #4E489F #79489F
triadic
#4E489F #9F4E48 #489F4E
tetradic
#4E489F #9F486D #999F48 #489F79
square
#4E489F #9F486D #999F48 #489F79
split-complementary
#4E489F #9F7948 #6D9F48
monochromatic
#25224B #393575 #4E489F #6F69BB #9793CE

Accessibility & contrast

On white

7.63
#4E489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E489F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489F#FFFFFF#000000##FFFFFF
##4E489F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#2F5B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e489f;
/* rgb */ color: rgb(78, 72, 159);
/* oklch */ color: oklch(45.5% 0.137 282.6);
Tailwind
colors: {
  custom: {
    50: '#867bbc',
    500: '#4e489f',
    950: '#000000',
  },
}
SCSS
$custom: #4e489f;
$custom-light: #867bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 244.138,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.1366,
    "h": 282.6
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#4E489F
secondary
#B7BA89
accent
#CE5AC6
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E489F

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

Preview Lab → · Contrast checker → · Palette generator →

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