#4E4892#4E4892

#4E4892 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.6% C 0.118 H 284.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4892
RGBrgb(78, 72, 146)
HSLhsl(245, 34%, 43%)
HSVhsv(245, 51%, 57%)
CMYKcmyk(46.6%, 50.7%, 0%, 42.7%)
CIE-LABlab(34.66, 22.66, -40.19)
CIE-LCHlch(34.66, 46.14, 299.41°)
OKLaboklab(44.58% 0.0289 -0.1142)
OKLCHoklch(44.58% 0.118 284.2)
XYZxyz(10.6460, 8.3293, 28.2353)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4892 #8C9248
analogous
#486792 #4E4892 #734892
triadic
#4E4892 #924E48 #48924E
tetradic
#4E4892 #924867 #8C9248 #489273
square
#4E4892 #924867 #8C9248 #489273
split-complementary
#4E4892 #927348 #679248
monochromatic
#222040 #383469 #4E4892 #6B64B3 #928DC7

Accessibility & contrast

On white

7.88
#4E4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4892
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4892#FFFFFF#000000##FFFFFF
##4E48921.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#385866
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4892;
/* rgb */ color: rgb(78, 72, 146);
/* oklch */ color: oklch(44.6% 0.118 284.2);
Tailwind
colors: {
  custom: {
    50: '#847bb2',
    500: '#4e4892',
    950: '#000000',
  },
}
SCSS
$custom: #4e4892;
$custom-light: #847bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4892",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 244.865,
    "s": 33.945,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.11781,
    "h": 284.2
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#4E4892
secondary
#AFB383
accent
#CA5EC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4892

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

Preview Lab → · Contrast checker → · Palette generator →

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