#4E4693#4E4693

#4E4693 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.122 H 285.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4E4693
RGBrgb(78, 70, 147)
HSLhsl(246, 35%, 43%)
HSVhsv(246, 52%, 58%)
CMYKcmyk(46.9%, 52.4%, 0%, 42.4%)
CIE-LABlab(34.20, 24.26, -41.53)
CIE-LCHlch(34.20, 48.10, 300.29°)
OKLaboklab(44.26% 0.0316 -0.1181)
OKLCHoklch(44.26% 0.122 285)
XYZxyz(10.5970, 8.1061, 28.6044)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4693 #8B9346
analogous
#466493 #4E4693 #754693
triadic
#4E4693 #934E46 #46934E
tetradic
#4E4693 #934664 #8B9346 #469375
square
#4E4693 #934664 #8B9346 #469375
split-complementary
#4E4693 #937546 #649346
monochromatic
#221F40 #38326A #4E4693 #6B62B4 #928BC8

Accessibility & contrast

On white

8.01
#4E4693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E4693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4693
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4693#FFFFFF#000000##FFFFFF
##4E46931.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225396
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#375665
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4693;
/* rgb */ color: rgb(78, 70, 147);
/* oklch */ color: oklch(44.3% 0.122 285.0);
Tailwind
colors: {
  custom: {
    50: '#8479b3',
    500: '#4e4693',
    950: '#000000',
  },
}
SCSS
$custom: #4e4693;
$custom-light: #8479b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4693",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 246.234,
    "s": 35.484,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.12229,
    "h": 285
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#4E4693
secondary
#AEB381
accent
#CC5CC0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4693

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

Preview Lab → · Contrast checker → · Palette generator →

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