#4E4697#4E4697

#4E4697 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.128 H 284.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4697
RGBrgb(78, 70, 151)
HSLhsl(246, 37%, 43%)
HSVhsv(246, 54%, 59%)
CMYKcmyk(48.3%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.47, 25.52, -43.55)
CIE-LCHlch(34.47, 50.47, 300.37°)
OKLaboklab(44.54% 0.0318 -0.124)
OKLCHoklch(44.54% 0.128 284.4)
XYZxyz(10.9163, 8.2339, 30.2863)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4697 #8F9746
analogous
#466697 #4E4697 #764697
triadic
#4E4697 #974E46 #46974E
tetradic
#4E4697 #974666 #8F9746 #469776
square
#4E4697 #974666 #8F9746 #469776
split-complementary
#4E4697 #977646 #669746
monochromatic
#231F43 #38336D #4E4697 #6C63B7 #938DCA

Accessibility & contrast

On white

7.93
#4E4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4697
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4697#FFFFFF#000000##FFFFFF
##4E46971.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#1A4F95
Tritanopia (blue-blind)
#355867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4697;
/* rgb */ color: rgb(78, 70, 151);
/* oklch */ color: oklch(44.5% 0.128 284.4);
Tailwind
colors: {
  custom: {
    50: '#8579b6',
    500: '#4e4697',
    950: '#000000',
  },
}
SCSS
$custom: #4e4697;
$custom-light: #8579b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4697",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 245.926,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.12807,
    "h": 284.4
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#4E4697
secondary
#B1B683
accent
#CD5BC1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4697

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

Preview Lab → · Contrast checker → · Palette generator →

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