#4E4F89#4E4F89

#4E4F89 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.4% C 0.094 H 281.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E4F89
RGBrgb(78, 79, 137)
HSLhsl(239, 27%, 42%)
HSVhsv(239, 43%, 54%)
CMYKcmyk(43.1%, 42.3%, 0%, 46.3%)
CIE-LABlab(36.02, 15.33, -32.54)
CIE-LCHlch(36.02, 35.97, 295.23°)
OKLaboklab(45.43% 0.0183 -0.0917)
OKLCHoklch(45.43% 0.094 281.2)
XYZxyz(10.4519, 9.0174, 24.8519)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F89 #89884E
analogous
#4E6D89 #4E4F89 #6B4E89
triadic
#4E4F89 #894E4F #4F894E
tetradic
#4E4F89 #894E6D #89884E #4E896B
square
#4E4F89 #894E6D #89884E #4E896B
split-complementary
#4E4F89 #896B4E #6D894E
monochromatic
#22223B #383962 #4E4F89 #6A6BAA #9192C0

Accessibility & contrast

On white

7.49
#4E4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F89
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F89#FFFFFF#000000##FFFFFF
##4E4F891.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578B
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#3C5B65
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4f89;
/* rgb */ color: rgb(78, 79, 137);
/* oklch */ color: oklch(45.4% 0.094 281.2);
Tailwind
colors: {
  custom: {
    50: '#8280ac',
    500: '#4e4f89',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f89;
$custom-light: #8280ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f89",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 238.983,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.09355,
    "h": 281.2
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#4E4F89
secondary
#ADAC86
accent
#C264C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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