#4E4898#4E4898

#4E4898 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.127 H 283.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4E4898
RGBrgb(78, 72, 152)
HSLhsl(245, 36%, 44%)
HSVhsv(245, 53%, 60%)
CMYKcmyk(48.7%, 52.6%, 0%, 40.4%)
CIE-LABlab(35.05, 24.56, -43.22)
CIE-LCHlch(35.05, 49.71, 299.61°)
OKLaboklab(44.99% 0.0295 -0.1231)
OKLCHoklch(44.99% 0.127 283.5)
XYZxyz(11.1251, 8.5209, 30.7582)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4898 #929848
analogous
#486A98 #4E4898 #764898
triadic
#4E4898 #984E48 #48984E
tetradic
#4E4898 #98486A #929848 #489876
square
#4E4898 #98486A #929848 #489876
split-complementary
#4E4898 #987648 #6A9848
monochromatic
#232145 #39346E #4E4898 #6C66B7 #9490CA

Accessibility & contrast

On white

7.77
#4E4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4898
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4898#FFFFFF#000000##FFFFFF
##4E48981.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#345969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4898;
/* rgb */ color: rgb(78, 72, 152);
/* oklch */ color: oklch(45.0% 0.127 283.5);
Tailwind
colors: {
  custom: {
    50: '#857bb7',
    500: '#4e4898',
    950: '#000000',
  },
}
SCSS
$custom: #4e4898;
$custom-light: #857bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4898",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 244.5,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.12655,
    "h": 283.5
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#4E4898
secondary
#B3B686
accent
#CC5CC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4898

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

Preview Lab → · Contrast checker → · Palette generator →

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