#4E4097#4E4097

#4E4097 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.137 H 286.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E4097
RGBrgb(78, 64, 151)
HSLhsl(250, 40%, 42%)
HSVhsv(250, 58%, 59%)
CMYKcmyk(48.3%, 57.6%, 0%, 40.8%)
CIE-LABlab(32.96, 29.32, -45.96)
CIE-LCHlch(32.96, 54.52, 302.53°)
OKLaboklab(43.42% 0.0391 -0.1312)
OKLCHoklch(43.42% 0.137 286.6)
XYZxyz(10.5596, 7.5204, 30.1673)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4097 #899740
analogous
#405E97 #4E4097 #7A4097
triadic
#4E4097 #974E40 #40974E
tetradic
#4E4097 #97405E #899740 #40977A
square
#4E4097 #97405E #899740 #40977A
split-complementary
#4E4097 #977A40 #5E9740
monochromatic
#221C41 #382E6C #4E4097 #6A5BB9 #9186CC

Accessibility & contrast

On white

8.39
#4E4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4097
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4097#FFFFFF#000000##FFFFFF
##4E40971.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#054B95
Tritanopia (blue-blind)
#365365
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4097;
/* rgb */ color: rgb(78, 64, 151);
/* oklch */ color: oklch(43.4% 0.137 286.6);
Tailwind
colors: {
  custom: {
    50: '#8575b6',
    500: '#4e4097',
    950: '#000000',
  },
}
SCSS
$custom: #4e4097;
$custom-light: #8575b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4097",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 249.655,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.1369,
    "h": 286.6
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#4E4097
secondary
#ADB67D
accent
#D057BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4097

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

Preview Lab → · Contrast checker → · Palette generator →

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