#4E4896#4E4896

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

Color values

HEX#4E4896
RGBrgb(78, 72, 150)
HSLhsl(245, 35%, 44%)
HSVhsv(245, 52%, 59%)
CMYKcmyk(48%, 52%, 0%, 41.2%)
CIE-LABlab(34.91, 23.93, -42.22)
CIE-LCHlch(34.91, 48.52, 299.54°)
OKLaboklab(44.85% 0.0293 -0.1201)
OKLCHoklch(44.85% 0.124 283.7)
XYZxyz(10.9626, 8.4559, 29.9028)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4896 #909648
analogous
#486996 #4E4896 #754896
triadic
#4E4896 #964E48 #48964E
tetradic
#4E4896 #964869 #909648 #489675
square
#4E4896 #964869 #909648 #489675
split-complementary
#4E4896 #967548 #699648
monochromatic
#232043 #38346D #4E4896 #6C66B5 #948FC9

Accessibility & contrast

On white

7.80
#4E4896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E4896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4896
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4896#FFFFFF#000000##FFFFFF
##4E48961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#205094
Tritanopia (blue-blind)
#355968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4896;
/* rgb */ color: rgb(78, 72, 150);
/* oklch */ color: oklch(44.9% 0.124 283.7);
Tailwind
colors: {
  custom: {
    50: '#847bb5',
    500: '#4e4896',
    950: '#000000',
  },
}
SCSS
$custom: #4e4896;
$custom-light: #847bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4896",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 244.615,
    "s": 35.135,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.12365,
    "h": 283.7
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#4E4896
secondary
#B1B585
accent
#CB5DC3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4896

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

Preview Lab → · Contrast checker → · Palette generator →

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