#4E4197#4E4197

#4E4197 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.135 H 286.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4197
RGBrgb(78, 65, 151)
HSLhsl(249, 40%, 42%)
HSVhsv(249, 57%, 59%)
CMYKcmyk(48.3%, 57%, 0%, 40.8%)
CIE-LABlab(33.21, 28.69, -45.57)
CIE-LCHlch(33.21, 53.85, 302.19°)
OKLaboklab(43.6% 0.0379 -0.13)
OKLCHoklch(43.6% 0.135 286.3)
XYZxyz(10.6165, 7.6342, 30.1863)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4197 #8A9741
analogous
#415F97 #4E4197 #794197
triadic
#4E4197 #974E41 #41974E
tetradic
#4E4197 #97415F #8A9741 #419779
square
#4E4197 #97415F #8A9741 #419779
split-complementary
#4E4197 #977941 #5F9741
monochromatic
#221C41 #382F6C #4E4197 #6A5CB9 #9187CB

Accessibility & contrast

On white

8.31
#4E4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4197
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4197#FFFFFF#000000##FFFFFF
##4E41971.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C509A
Deuteranopia (green-blind)
#0A4C95
Tritanopia (blue-blind)
#365465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4197;
/* rgb */ color: rgb(78, 65, 151);
/* oklch */ color: oklch(43.6% 0.135 286.3);
Tailwind
colors: {
  custom: {
    50: '#8576b6',
    500: '#4e4197',
    950: '#000000',
  },
}
SCSS
$custom: #4e4197;
$custom-light: #8576b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4197",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 249.07,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.13544,
    "h": 286.3
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#4E4197
secondary
#AEB67E
accent
#D058BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4197

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

Preview Lab → · Contrast checker → · Palette generator →

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