#4E4296#4E4296

#4E4296 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.133 H 286.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4296
RGBrgb(78, 66, 150)
HSLhsl(249, 39%, 42%)
HSVhsv(249, 56%, 59%)
CMYKcmyk(48%, 56%, 0%, 41.2%)
CIE-LABlab(33.39, 27.74, -44.67)
CIE-LCHlch(33.39, 52.59, 301.84°)
OKLaboklab(43.71% 0.0367 -0.1274)
OKLCHoklch(43.71% 0.133 286.1)
XYZxyz(10.5935, 7.7177, 29.7797)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4296 #8A9642
analogous
#426096 #4E4296 #784296
triadic
#4E4296 #964E42 #42964E
tetradic
#4E4296 #964260 #8A9642 #429678
square
#4E4296 #964260 #8A9642 #429678
split-complementary
#4E4296 #967842 #609642
monochromatic
#221D41 #382F6C #4E4296 #6A5DB8 #9188CB

Accessibility & contrast

On white

8.26
#4E4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4296
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4296#FFFFFF#000000##FFFFFF
##4E42961.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#104C94
Tritanopia (blue-blind)
#365565
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4296;
/* rgb */ color: rgb(78, 66, 150);
/* oklch */ color: oklch(43.7% 0.133 286.1);
Tailwind
colors: {
  custom: {
    50: '#8576b5',
    500: '#4e4296',
    950: '#000000',
  },
}
SCSS
$custom: #4e4296;
$custom-light: #8576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4296",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 248.571,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.13256,
    "h": 286.1
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4296

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

Preview Lab → · Contrast checker → · Palette generator →

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