#4E4888#4E4888

#4E4888 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.9% C 0.103 H 285.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E4888
RGBrgb(78, 72, 136)
HSLhsl(246, 31%, 41%)
HSVhsv(246, 47%, 53%)
CMYKcmyk(42.6%, 47.1%, 0%, 46.7%)
CIE-LABlab(34.05, 19.54, -35.05)
CIE-LCHlch(34.05, 40.13, 299.14°)
OKLaboklab(43.92% 0.0277 -0.0991)
OKLCHoklch(43.92% 0.103 285.6)
XYZxyz(9.9019, 8.0316, 24.3163)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4888 #828848
analogous
#486288 #4E4888 #6E4888
triadic
#4E4888 #884E48 #48884E
tetradic
#4E4888 #884862 #828848 #48886E
square
#4E4888 #884862 #828848 #48886E
split-complementary
#4E4888 #886E48 #628848
monochromatic
#201E38 #373360 #4E4888 #6862AC #8F8AC1

Accessibility & contrast

On white

8.06
#4E4888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E4888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4888
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4888#FFFFFF#000000##FFFFFF
##4E48881.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#3D5561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4888;
/* rgb */ color: rgb(78, 72, 136);
/* oklch */ color: oklch(43.9% 0.103 285.6);
Tailwind
colors: {
  custom: {
    50: '#837bab',
    500: '#4e4888',
    950: '#000000',
  },
}
SCSS
$custom: #4e4888;
$custom-light: #837bab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4888",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 136
  },
  "hsl": {
    "h": 245.625,
    "s": 30.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.10291,
    "h": 285.6
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#4E4888
secondary
#A8AD7F
accent
#C761BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4888

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

Preview Lab → · Contrast checker → · Palette generator →

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