#4E488F#4E488F

#4E488F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.4% C 0.113 H 284.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E488F
RGBrgb(78, 72, 143)
HSLhsl(245, 33%, 42%)
HSVhsv(245, 50%, 56%)
CMYKcmyk(45.5%, 49.7%, 0%, 43.9%)
CIE-LABlab(34.47, 21.72, -38.66)
CIE-LCHlch(34.47, 44.35, 299.32°)
OKLaboklab(44.38% 0.0286 -0.1097)
OKLCHoklch(44.38% 0.113 284.6)
XYZxyz(10.4157, 8.2372, 27.0224)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488F #898F48
analogous
#48668F #4E488F #71488F
triadic
#4E488F #8F4E48 #488F4E
tetradic
#4E488F #8F4866 #898F48 #488F71
square
#4E488F #8F4866 #898F48 #488F71
split-complementary
#4E488F #8F7148 #668F48
monochromatic
#221F3E #383466 #4E488F #6A63B1 #918CC5

Accessibility & contrast

On white

7.93
#4E488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E488F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488F#FFFFFF#000000##FFFFFF
##4E488F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#395764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e488f;
/* rgb */ color: rgb(78, 72, 143);
/* oklch */ color: oklch(44.4% 0.113 284.6);
Tailwind
colors: {
  custom: {
    50: '#847bb0',
    500: '#4e488f',
    950: '#000000',
  },
}
SCSS
$custom: #4e488f;
$custom-light: #847bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 245.07,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.11338,
    "h": 284.6
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#4E488F
secondary
#ADB182
accent
#C95FC0
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E488F

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

Preview Lab → · Contrast checker → · Palette generator →

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