#4E488B#4E488B

#4E488B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.107 H 285.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4E488B
RGBrgb(78, 72, 139)
HSLhsl(245, 32%, 41%)
HSVhsv(245, 48%, 55%)
CMYKcmyk(43.9%, 48.2%, 0%, 45.5%)
CIE-LABlab(34.23, 20.47, -36.61)
CIE-LCHlch(34.23, 41.94, 299.21°)
OKLaboklab(44.11% 0.0281 -0.1037)
OKLCHoklch(44.11% 0.107 285.2)
XYZxyz(10.1181, 8.1181, 25.4549)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488B #858B48
analogous
#48648B #4E488B #70488B
triadic
#4E488B #8B4E48 #488B4E
tetradic
#4E488B #8B4864 #858B48 #488B70
square
#4E488B #8B4864 #858B48 #488B70
split-complementary
#4E488B #8B7048 #648B48
monochromatic
#211E3A #373363 #4E488B #6962AE #908BC3

Accessibility & contrast

On white

8.00
#4E488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E488B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488B#FFFFFF#000000##FFFFFF
##4E488B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#3C5663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e488b;
/* rgb */ color: rgb(78, 72, 139);
/* oklch */ color: oklch(44.1% 0.107 285.2);
Tailwind
colors: {
  custom: {
    50: '#837bad',
    500: '#4e488b',
    950: '#000000',
  },
}
SCSS
$custom: #4e488b;
$custom-light: #837bad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488b",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 245.373,
    "s": 31.754,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.10741,
    "h": 285.2
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E488B

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

Preview Lab → · Contrast checker → · Palette generator →

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