#4E4897#4E4897

#4E4897 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.125 H 283.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E4897
RGBrgb(78, 72, 151)
HSLhsl(245, 35%, 44%)
HSVhsv(245, 52%, 59%)
CMYKcmyk(48.3%, 52.3%, 0%, 40.8%)
CIE-LABlab(34.98, 24.24, -42.72)
CIE-LCHlch(34.98, 49.12, 299.57°)
OKLaboklab(44.92% 0.0294 -0.1216)
OKLCHoklch(44.92% 0.125 283.6)
XYZxyz(11.0435, 8.4883, 30.3287)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4897 #919748
analogous
#486997 #4E4897 #754897
triadic
#4E4897 #974E48 #48974E
tetradic
#4E4897 #974869 #919748 #489775
square
#4E4897 #974869 #919748 #489775
split-complementary
#4E4897 #977548 #699748
monochromatic
#232044 #39346E #4E4897 #6C66B6 #9490CA

Accessibility & contrast

On white

7.78
#4E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4897
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4897#FFFFFF#000000##FFFFFF
##4E48971.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#355968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4897;
/* rgb */ color: rgb(78, 72, 151);
/* oklch */ color: oklch(44.9% 0.125 283.6);
Tailwind
colors: {
  custom: {
    50: '#857bb6',
    500: '#4e4897',
    950: '#000000',
  },
}
SCSS
$custom: #4e4897;
$custom-light: #857bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4897",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 244.557,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.12511,
    "h": 283.6
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#4E4897
secondary
#B2B685
accent
#CB5CC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4897

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

Preview Lab → · Contrast checker → · Palette generator →

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