#4E4595#4E4595

#4E4595 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.127 H 285.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4595
RGBrgb(78, 69, 149)
HSLhsl(247, 37%, 43%)
HSVhsv(247, 54%, 58%)
CMYKcmyk(47.7%, 53.7%, 0%, 41.6%)
CIE-LABlab(34.08, 25.53, -42.95)
CIE-LCHlch(34.08, 49.97, 300.72°)
OKLaboklab(44.2% 0.033 -0.1223)
OKLCHoklch(44.2% 0.127 285.1)
XYZxyz(10.6932, 8.0454, 29.4174)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4595 #8C9545
analogous
#456495 #4E4595 #764595
triadic
#4E4595 #954E45 #45954E
tetradic
#4E4595 #954564 #8C9545 #459576
square
#4E4595 #954564 #8C9545 #459576
split-complementary
#4E4595 #957645 #649545
monochromatic
#221E41 #38326B #4E4595 #6B61B6 #928BC9

Accessibility & contrast

On white

8.05
#4E4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4595
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4595#FFFFFF#000000##FFFFFF
##4E45951.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5298
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#365666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4595;
/* rgb */ color: rgb(78, 69, 149);
/* oklch */ color: oklch(44.2% 0.127 285.1);
Tailwind
colors: {
  custom: {
    50: '#8479b5',
    500: '#4e4595',
    950: '#000000',
  },
}
SCSS
$custom: #4e4595;
$custom-light: #8479b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4595",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 246.75,
    "s": 36.697,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.12668,
    "h": 285.1
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#4E4595
secondary
#AFB581
accent
#CD5BC0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4595

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

Preview Lab → · Contrast checker → · Palette generator →

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