#4E4196#4E4196

#4E4196 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.134 H 286.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E4196
RGBrgb(78, 65, 150)
HSLhsl(249, 40%, 42%)
HSVhsv(249, 57%, 59%)
CMYKcmyk(48%, 56.7%, 0%, 41.2%)
CIE-LABlab(33.14, 28.38, -45.07)
CIE-LCHlch(33.14, 53.26, 302.19°)
OKLaboklab(43.53% 0.0379 -0.1286)
OKLCHoklch(43.53% 0.134 286.4)
XYZxyz(10.5356, 7.6018, 29.7604)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4196 #899641
analogous
#415F96 #4E4196 #784196
triadic
#4E4196 #964E41 #41964E
tetradic
#4E4196 #96415F #899641 #419678
square
#4E4196 #96415F #899641 #419678
split-complementary
#4E4196 #967841 #5F9641
monochromatic
#221C41 #382E6B #4E4196 #6A5CB8 #9187CB

Accessibility & contrast

On white

8.33
#4E4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4196
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4196#FFFFFF#000000##FFFFFF
##4E41961.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4196;
/* rgb */ color: rgb(78, 65, 150);
/* oklch */ color: oklch(43.5% 0.134 286.4);
Tailwind
colors: {
  custom: {
    50: '#8576b5',
    500: '#4e4196',
    950: '#000000',
  },
}
SCSS
$custom: #4e4196;
$custom-light: #8576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4196",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 249.176,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.13403,
    "h": 286.4
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4196

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

Preview Lab → · Contrast checker → · Palette generator →

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