#4E4889#4E4889

#4E4889 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.0% C 0.104 H 285.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4E4889
RGBrgb(78, 72, 137)
HSLhsl(246, 31%, 41%)
HSVhsv(246, 47%, 54%)
CMYKcmyk(43.1%, 47.4%, 0%, 46.3%)
CIE-LABlab(34.11, 19.85, -35.57)
CIE-LCHlch(34.11, 40.73, 299.16°)
OKLaboklab(43.98% 0.0278 -0.1006)
OKLCHoklch(43.98% 0.104 285.5)
XYZxyz(9.9733, 8.0602, 24.6923)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4889 #838948
analogous
#486289 #4E4889 #6E4889
triadic
#4E4889 #894E48 #48894E
tetradic
#4E4889 #894862 #838948 #48896E
square
#4E4889 #894862 #838948 #48896E
split-complementary
#4E4889 #896E48 #628948
monochromatic
#201E39 #373361 #4E4889 #6962AC #8F8AC1

Accessibility & contrast

On white

8.04
#4E4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4889
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4889#FFFFFF#000000##FFFFFF
##4E48891.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#3D5562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4889;
/* rgb */ color: rgb(78, 72, 137);
/* oklch */ color: oklch(44.0% 0.104 285.5);
Tailwind
colors: {
  custom: {
    50: '#837bac',
    500: '#4e4889',
    950: '#000000',
  },
}
SCSS
$custom: #4e4889;
$custom-light: #837bac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4889",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 245.538,
    "s": 31.1,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.10442,
    "h": 285.5
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#4E4889
secondary
#A9AD80
accent
#C761BE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4889

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

Preview Lab → · Contrast checker → · Palette generator →

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