#4E488A#4E488A

#4E488A is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.0% C 0.106 H 285.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4E488A
RGBrgb(78, 72, 138)
HSLhsl(245, 31%, 41%)
HSVhsv(245, 48%, 54%)
CMYKcmyk(43.5%, 47.8%, 0%, 45.9%)
CIE-LABlab(34.17, 20.16, -36.09)
CIE-LCHlch(34.17, 41.34, 299.19°)
OKLaboklab(44.05% 0.028 -0.1022)
OKLCHoklch(44.05% 0.106 285.3)
XYZxyz(10.0454, 8.0890, 25.0719)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488A #848A48
analogous
#48638A #4E488A #6F488A
triadic
#4E488A #8A4E48 #488A4E
tetradic
#4E488A #8A4863 #848A48 #488A6F
square
#4E488A #8A4863 #848A48 #488A6F
split-complementary
#4E488A #8A6F48 #638A48
monochromatic
#211E3A #373362 #4E488A #6962AD #8F8AC2

Accessibility & contrast

On white

8.02
#4E488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E488A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488A#FFFFFF#000000##FFFFFF
##4E488A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#3C5562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e488a;
/* rgb */ color: rgb(78, 72, 138);
/* oklch */ color: oklch(44.0% 0.106 285.3);
Tailwind
colors: {
  custom: {
    50: '#837bac',
    500: '#4e488a',
    950: '#000000',
  },
}
SCSS
$custom: #4e488a;
$custom-light: #837bac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488a",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 245.455,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.10592,
    "h": 285.3
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#4E488A
secondary
#AAAE80
accent
#C860BE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E488A

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

Preview Lab → · Contrast checker → · Palette generator →

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