#4E4B8B#4E4B8B

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

Color values

HEX#4E4B8B
RGBrgb(78, 75, 139)
HSLhsl(243, 30%, 42%)
HSVhsv(243, 46%, 55%)
CMYKcmyk(43.9%, 46%, 0%, 45.5%)
CIE-LABlab(35.03, 18.53, -35.32)
CIE-LCHlch(35.03, 39.89, 297.69°)
OKLaboklab(44.72% 0.0241 -0.0999)
OKLCHoklch(44.72% 0.103 283.5)
XYZxyz(10.3168, 8.5155, 25.5212)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B8B #888B4B
analogous
#4B688B #4E4B8B #6E4B8B
triadic
#4E4B8B #8B4E4B #4B8B4E
tetradic
#4E4B8B #8B4B68 #888B4B #4B8B6E
square
#4E4B8B #8B4B68 #888B4B #4B8B6E
split-complementary
#4E4B8B #8B6E4B #688B4B
monochromatic
#21203B #383663 #4E4B8B #6A66AD #918EC2

Accessibility & contrast

On white

7.77
#4E4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4B8B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B8B#FFFFFF#000000##FFFFFF
##4E4B8B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#30508A
Tritanopia (blue-blind)
#3B5864
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4b8b;
/* rgb */ color: rgb(78, 75, 139);
/* oklch */ color: oklch(44.7% 0.103 283.5);
Tailwind
colors: {
  custom: {
    50: '#837dad',
    500: '#4e4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b8b;
$custom-light: #837dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b8b",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 242.813,
    "s": 29.907,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.10276,
    "h": 283.5
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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