#4E4698#4E4698

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

Color values

HEX#4E4698
RGBrgb(78, 70, 152)
HSLhsl(246, 37%, 44%)
HSVhsv(246, 54%, 60%)
CMYKcmyk(48.7%, 53.9%, 0%, 40.4%)
CIE-LABlab(34.53, 25.84, -44.04)
CIE-LCHlch(34.53, 51.06, 300.40°)
OKLaboklab(44.61% 0.0319 -0.1255)
OKLCHoklch(44.61% 0.13 284.3)
XYZxyz(10.9979, 8.2665, 30.7158)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4698 #909846
analogous
#466798 #4E4698 #774698
triadic
#4E4698 #984E46 #46984E
tetradic
#4E4698 #984667 #909846 #469877
square
#4E4698 #984667 #909846 #469877
split-complementary
#4E4698 #987746 #679846
monochromatic
#231F44 #38336E #4E4698 #6C64B7 #948ECB

Accessibility & contrast

On white

7.91
#4E4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4698
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4698#FFFFFF#000000##FFFFFF
##4E46981.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#184F96
Tritanopia (blue-blind)
#345868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4698;
/* rgb */ color: rgb(78, 70, 152);
/* oklch */ color: oklch(44.6% 0.130 284.3);
Tailwind
colors: {
  custom: {
    50: '#8579b7',
    500: '#4e4698',
    950: '#000000',
  },
}
SCSS
$custom: #4e4698;
$custom-light: #8579b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4698",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 245.854,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.12951,
    "h": 284.3
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#4E4698
secondary
#B1B684
accent
#CD5BC2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4698

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

Preview Lab → · Contrast checker → · Palette generator →

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