#4E4397#4E4397

#4E4397 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.133 H 285.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E4397
RGBrgb(78, 67, 151)
HSLhsl(248, 39%, 43%)
HSVhsv(248, 56%, 59%)
CMYKcmyk(48.3%, 55.6%, 0%, 40.8%)
CIE-LABlab(33.71, 27.43, -44.77)
CIE-LCHlch(33.71, 52.50, 301.49°)
OKLaboklab(43.97% 0.0355 -0.1277)
OKLCHoklch(43.97% 0.133 285.5)
XYZxyz(10.7333, 7.8679, 30.2253)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4397 #8C9743
analogous
#436297 #4E4397 #784397
triadic
#4E4397 #974E43 #43974E
tetradic
#4E4397 #974362 #8C9743 #439778
square
#4E4397 #974362 #8C9743 #439778
split-complementary
#4E4397 #977843 #629743
monochromatic
#221D42 #38306D #4E4397 #6B5FB8 #928ACB

Accessibility & contrast

On white

8.16
#4E4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4397
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4397#FFFFFF#000000##FFFFFF
##4E43971.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#355666
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4397;
/* rgb */ color: rgb(78, 67, 151);
/* oklch */ color: oklch(44.0% 0.133 285.5);
Tailwind
colors: {
  custom: {
    50: '#8577b6',
    500: '#4e4397',
    950: '#000000',
  },
}
SCSS
$custom: #4e4397;
$custom-light: #8577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4397",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 247.857,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.13251,
    "h": 285.5
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#4E4397
secondary
#AFB680
accent
#CE59BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4397

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

Preview Lab → · Contrast checker → · Palette generator →

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