#4E4588#4E4588

#4E4588 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.108 H 287.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4588
RGBrgb(78, 69, 136)
HSLhsl(248, 33%, 40%)
HSVhsv(248, 49%, 53%)
CMYKcmyk(42.6%, 49.3%, 0%, 46.7%)
CIE-LABlab(33.25, 21.48, -36.32)
CIE-LCHlch(33.25, 42.20, 300.59°)
OKLaboklab(43.32% 0.0318 -0.1028)
OKLCHoklch(43.32% 0.108 287.2)
XYZxyz(9.7127, 7.6532, 24.2532)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4588 #7F8845
analogous
#455D88 #4E4588 #704588
triadic
#4E4588 #884E45 #45884E
tetradic
#4E4588 #88455D #7F8845 #458870
square
#4E4588 #88455D #7F8845 #458870
split-complementary
#4E4588 #887045 #5D8845
monochromatic
#1F1C37 #37305F #4E4588 #685DAD #8E86C2

Accessibility & contrast

On white

8.30
#4E4588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4588
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4588#FFFFFF#000000##FFFFFF
##4E45881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#3D5360
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4588;
/* rgb */ color: rgb(78, 69, 136);
/* oklch */ color: oklch(43.3% 0.108 287.2);
Tailwind
colors: {
  custom: {
    50: '#8378ab',
    500: '#4e4588',
    950: '#000000',
  },
}
SCSS
$custom: #4e4588;
$custom-light: #8378ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4588",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 248.06,
    "s": 32.683,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.10765,
    "h": 287.2
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#4E4588
secondary
#A6AD7C
accent
#C95FBB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4588

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

Preview Lab → · Contrast checker → · Palette generator →

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