#4E4297#4E4297

#4E4297 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.134 H 285.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4297
RGBrgb(78, 66, 151)
HSLhsl(248, 39%, 43%)
HSVhsv(248, 56%, 59%)
CMYKcmyk(48.3%, 56.3%, 0%, 40.8%)
CIE-LABlab(33.46, 28.06, -45.17)
CIE-LCHlch(33.46, 53.17, 301.85°)
OKLaboklab(43.78% 0.0367 -0.1288)
OKLCHoklch(43.78% 0.134 285.9)
XYZxyz(10.6744, 7.7500, 30.2056)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4297 #8B9742
analogous
#426097 #4E4297 #794297
triadic
#4E4297 #974E42 #42974E
tetradic
#4E4297 #974260 #8B9742 #429779
square
#4E4297 #974260 #8B9742 #429779
split-complementary
#4E4297 #977942 #609742
monochromatic
#221D42 #382F6C #4E4297 #6B5EB8 #9288CB

Accessibility & contrast

On white

8.24
#4E4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4297
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4297#FFFFFF#000000##FFFFFF
##4E42971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#355566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4297;
/* rgb */ color: rgb(78, 66, 151);
/* oklch */ color: oklch(43.8% 0.134 285.9);
Tailwind
colors: {
  custom: {
    50: '#8576b6',
    500: '#4e4297',
    950: '#000000',
  },
}
SCSS
$custom: #4e4297;
$custom-light: #8576b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4297",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 248.471,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.13397,
    "h": 285.9
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#4E4297
secondary
#AEB67F
accent
#CF59BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4297

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

Preview Lab → · Contrast checker → · Palette generator →

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