#4E4396#4E4396

#4E4396 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.131 H 285.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4E4396
RGBrgb(78, 67, 150)
HSLhsl(248, 38%, 43%)
HSVhsv(248, 55%, 59%)
CMYKcmyk(48%, 55.3%, 0%, 41.2%)
CIE-LABlab(33.64, 27.11, -44.27)
CIE-LCHlch(33.64, 51.91, 301.49°)
OKLaboklab(43.9% 0.0355 -0.1262)
OKLCHoklch(43.9% 0.131 285.7)
XYZxyz(10.6525, 7.8355, 29.7994)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4396 #8B9643
analogous
#436196 #4E4396 #784396
triadic
#4E4396 #964E43 #43964E
tetradic
#4E4396 #964361 #8B9643 #439678
square
#4E4396 #964361 #8B9643 #439678
split-complementary
#4E4396 #967843 #619643
monochromatic
#221D41 #38306C #4E4396 #6B5FB7 #9289CA

Accessibility & contrast

On white

8.18
#4E4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4396
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4396#FFFFFF#000000##FFFFFF
##4E43961.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#144D94
Tritanopia (blue-blind)
#365566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4396;
/* rgb */ color: rgb(78, 67, 150);
/* oklch */ color: oklch(43.9% 0.131 285.7);
Tailwind
colors: {
  custom: {
    50: '#8577b5',
    500: '#4e4396',
    950: '#000000',
  },
}
SCSS
$custom: #4e4396;
$custom-light: #8577b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4396",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 247.952,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.13108,
    "h": 285.7
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#4E4396
secondary
#AEB57F
accent
#CE5ABF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4396

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

Preview Lab → · Contrast checker → · Palette generator →

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