#4E4B8A#4E4B8A

#4E4B8A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.101 H 283.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4E4B8A
RGBrgb(78, 75, 138)
HSLhsl(243, 30%, 42%)
HSVhsv(243, 46%, 54%)
CMYKcmyk(43.5%, 45.7%, 0%, 45.9%)
CIE-LABlab(34.98, 18.22, -34.80)
CIE-LCHlch(34.98, 39.29, 297.64°)
OKLaboklab(44.66% 0.0239 -0.0984)
OKLCHoklch(44.66% 0.101 283.7)
XYZxyz(10.2441, 8.4864, 25.1381)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B8A #878A4B
analogous
#4B688A #4E4B8A #6E4B8A
triadic
#4E4B8A #8A4E4B #4B8A4E
tetradic
#4E4B8A #8A4B68 #878A4B #4B8A6E
square
#4E4B8A #8A4B68 #878A4B #4B8A6E
split-complementary
#4E4B8A #8A6E4B #688A4B
monochromatic
#21203B #383562 #4E4B8A #6A66AC #908EC2

Accessibility & contrast

On white

7.79
#4E4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E4B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B8A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B8A#FFFFFF#000000##FFFFFF
##4E4B8A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#3C5864
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4b8a;
/* rgb */ color: rgb(78, 75, 138);
/* oklch */ color: oklch(44.7% 0.101 283.7);
Tailwind
colors: {
  custom: {
    50: '#837dac',
    500: '#4e4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b8a;
$custom-light: #837dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b8a",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 242.857,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.10124,
    "h": 283.7
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#4E4B8A
secondary
#ACAE83
accent
#C662C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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