#4E4E89#4E4E89

#4E4E89 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.2% C 0.095 H 281.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4E4E89
RGBrgb(78, 78, 137)
HSLhsl(240, 27%, 42%)
HSVhsv(240, 43%, 54%)
CMYKcmyk(43.1%, 43.1%, 0%, 46.3%)
CIE-LABlab(35.74, 15.98, -32.98)
CIE-LCHlch(35.74, 36.64, 295.85°)
OKLaboklab(45.22% 0.0196 -0.093)
OKLCHoklch(45.22% 0.095 281.9)
XYZxyz(10.3803, 8.8742, 24.8280)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E89 #89894E
analogous
#4E6C89 #4E4E89 #6C4E89
triadic
#4E4E89 #894E4E #4E894E
tetradic
#4E4E89 #894E6C #89894E #4E896C
square
#4E4E89 #894E6C #89894E #4E896C
split-complementary
#4E4E89 #896C4E #6C894E
monochromatic
#22223B #383862 #4E4E89 #6A6AAA #9191C0

Accessibility & contrast

On white

7.57
#4E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E89
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E89#FFFFFF#000000##FFFFFF
##4E4E891.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568B
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#3C5A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4e89;
/* rgb */ color: rgb(78, 78, 137);
/* oklch */ color: oklch(45.2% 0.095 281.9);
Tailwind
colors: {
  custom: {
    50: '#837fac',
    500: '#4e4e89',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e89;
$custom-light: #837fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e89",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.09508,
    "h": 281.9
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#4E4E89
secondary
#ADAD86
accent
#C464C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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