#4E4688#4E4688

#4E4688 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.5% C 0.106 H 286.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E4688
RGBrgb(78, 70, 136)
HSLhsl(247, 32%, 40%)
HSVhsv(247, 49%, 53%)
CMYKcmyk(42.6%, 48.5%, 0%, 46.7%)
CIE-LABlab(33.51, 20.83, -35.90)
CIE-LCHlch(33.51, 41.51, 300.12°)
OKLaboklab(43.52% 0.0304 -0.1016)
OKLCHoklch(43.52% 0.106 286.7)
XYZxyz(9.7747, 7.7772, 24.2739)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4688 #808846
analogous
#465F88 #4E4688 #6F4688
triadic
#4E4688 #884E46 #46884E
tetradic
#4E4688 #88465F #808846 #46886F
square
#4E4688 #88465F #808846 #46886F
split-complementary
#4E4688 #886F46 #5F8846
monochromatic
#201C37 #373160 #4E4688 #685FAC #8E87C1

Accessibility & contrast

On white

8.22
#4E4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4688
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4688#FFFFFF#000000##FFFFFF
##4E46881.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518A
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#3D5360
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4688;
/* rgb */ color: rgb(78, 70, 136);
/* oklch */ color: oklch(43.5% 0.106 286.7);
Tailwind
colors: {
  custom: {
    50: '#8379ab',
    500: '#4e4688',
    950: '#000000',
  },
}
SCSS
$custom: #4e4688;
$custom-light: #8379ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4688",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 247.273,
    "s": 32.039,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.10607,
    "h": 286.7
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#4E4688
secondary
#A7AD7D
accent
#C860BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4688

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

Preview Lab → · Contrast checker → · Palette generator →

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