#4E4696#4E4696

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

Color values

HEX#4E4696
RGBrgb(78, 70, 150)
HSLhsl(246, 36%, 43%)
HSVhsv(246, 53%, 59%)
CMYKcmyk(48%, 53.3%, 0%, 41.2%)
CIE-LABlab(34.40, 25.20, -43.04)
CIE-LCHlch(34.40, 49.88, 300.35°)
OKLaboklab(44.46% 0.0318 -0.1226)
OKLCHoklch(44.46% 0.127 284.5)
XYZxyz(10.8354, 8.2015, 29.8604)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4696 #8E9646
analogous
#466696 #4E4696 #764696
triadic
#4E4696 #964E46 #46964E
tetradic
#4E4696 #964666 #8E9646 #469676
square
#4E4696 #964666 #8E9646 #469676
split-complementary
#4E4696 #967646 #669646
monochromatic
#231F43 #38336C #4E4696 #6B63B6 #938DCA

Accessibility & contrast

On white

7.95
#4E4696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E4696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4696
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4696#FFFFFF#000000##FFFFFF
##4E46961.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#365767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4696;
/* rgb */ color: rgb(78, 70, 150);
/* oklch */ color: oklch(44.5% 0.127 284.5);
Tailwind
colors: {
  custom: {
    50: '#8579b5',
    500: '#4e4696',
    950: '#000000',
  },
}
SCSS
$custom: #4e4696;
$custom-light: #8579b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4696",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 246,
    "s": 36.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.12663,
    "h": 284.5
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#4E4696
secondary
#B0B583
accent
#CC5BC1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4696

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

Preview Lab → · Contrast checker → · Palette generator →

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