#4E4684#4E4684

#4E4684 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.100 H 287.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E4684
RGBrgb(78, 70, 132)
HSLhsl(248, 31%, 40%)
HSVhsv(248, 47%, 52%)
CMYKcmyk(40.9%, 47%, 0%, 48.2%)
CIE-LABlab(33.28, 19.61, -33.81)
CIE-LCHlch(33.28, 39.09, 300.11°)
OKLaboklab(43.26% 0.0299 -0.0955)
OKLCHoklch(43.26% 0.1 287.4)
XYZxyz(9.4957, 7.6656, 22.8046)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4684 #7C8446
analogous
#465D84 #4E4684 #6D4684
triadic
#4E4684 #844E46 #46844E
tetradic
#4E4684 #84465D #7C8446 #46846D
square
#4E4684 #84465D #7C8446 #46846D
split-complementary
#4E4684 #846D46 #5D8446
monochromatic
#1F1C34 #36315C #4E4684 #675EA9 #8D86BF

Accessibility & contrast

On white

8.29
#4E4684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4684
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4684#FFFFFF#000000##FFFFFF
##4E46841.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#3F525E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4684;
/* rgb */ color: rgb(78, 70, 132);
/* oklch */ color: oklch(43.3% 0.100 287.4);
Tailwind
colors: {
  custom: {
    50: '#8279a8',
    500: '#4e4684',
    950: '#000000',
  },
}
SCSS
$custom: #4e4684;
$custom-light: #8279a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4684",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 247.742,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.10006,
    "h": 287.4
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#4E4684
secondary
#A4AA7C
accent
#C761BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4684

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

Preview Lab → · Contrast checker → · Palette generator →

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