#4E4B87#4E4B87

#4E4B87 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.097 H 284.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4B87
RGBrgb(78, 75, 135)
HSLhsl(243, 29%, 41%)
HSVhsv(243, 44%, 53%)
CMYKcmyk(42.2%, 44.4%, 0%, 47.1%)
CIE-LABlab(34.80, 17.30, -33.24)
CIE-LCHlch(34.80, 37.47, 297.49°)
OKLaboklab(44.47% 0.0234 -0.0938)
OKLCHoklch(44.47% 0.097 284)
XYZxyz(10.0299, 8.4007, 24.0100)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B87 #84874B
analogous
#4B6687 #4E4B87 #6C4B87
triadic
#4E4B87 #874E4B #4B874E
tetradic
#4E4B87 #874B66 #84874B #4B876C
square
#4E4B87 #874B66 #84874B #4B876C
split-complementary
#4E4B87 #876C4B #66874B
monochromatic
#211F38 #373560 #4E4B87 #6965AA #8F8DC0

Accessibility & contrast

On white

7.84
#4E4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E4B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B87
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B87#FFFFFF#000000##FFFFFF
##4E4B871.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355489
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#3D5762
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4b87;
/* rgb */ color: rgb(78, 75, 135);
/* oklch */ color: oklch(44.5% 0.097 284.0);
Tailwind
colors: {
  custom: {
    50: '#827daa',
    500: '#4e4b87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b87;
$custom-light: #827daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b87",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 243,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.09667,
    "h": 284
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#4E4B87
secondary
#AAAC82
accent
#C563C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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