#4E4795#4E4795

#4E4795 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.124 H 284.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E4795
RGBrgb(78, 71, 149)
HSLhsl(245, 35%, 43%)
HSVhsv(245, 52%, 58%)
CMYKcmyk(47.7%, 52.3%, 0%, 41.6%)
CIE-LABlab(34.59, 24.25, -42.13)
CIE-LCHlch(34.59, 48.61, 299.92°)
OKLaboklab(44.59% 0.0305 -0.1199)
OKLCHoklch(44.59% 0.124 284.3)
XYZxyz(10.8183, 8.2956, 29.4591)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4795 #8E9547
analogous
#476795 #4E4795 #754795
triadic
#4E4795 #954E47 #47954E
tetradic
#4E4795 #954767 #8E9547 #479575
square
#4E4795 #954767 #8E9547 #479575
split-complementary
#4E4795 #957547 #679547
monochromatic
#231F42 #38336C #4E4795 #6B64B5 #938DC9

Accessibility & contrast

On white

7.90
#4E4795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E4795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4795
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4795#FFFFFF#000000##FFFFFF
##4E47951.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#365867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4795;
/* rgb */ color: rgb(78, 71, 149);
/* oklch */ color: oklch(44.6% 0.124 284.3);
Tailwind
colors: {
  custom: {
    50: '#847ab5',
    500: '#4e4795',
    950: '#000000',
  },
}
SCSS
$custom: #4e4795;
$custom-light: #847ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4795",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 245.385,
    "s": 35.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.12369,
    "h": 284.3
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#4E4795
secondary
#B0B483
accent
#CB5CC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4795

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

Preview Lab → · Contrast checker → · Palette generator →

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