#4E4290#4E4290

#4E4290 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.124 H 287.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4290
RGBrgb(78, 66, 144)
HSLhsl(249, 37%, 41%)
HSVhsv(249, 54%, 56%)
CMYKcmyk(45.8%, 54.2%, 0%, 43.5%)
CIE-LABlab(32.98, 25.87, -41.66)
CIE-LCHlch(32.98, 49.04, 301.84°)
OKLaboklab(43.28% 0.0364 -0.1185)
OKLCHoklch(43.28% 0.124 287.1)
XYZxyz(10.1227, 7.5293, 27.3001)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4290 #849042
analogous
#425D90 #4E4290 #754290
triadic
#4E4290 #904E42 #42904E
tetradic
#4E4290 #90425D #849042 #429075
square
#4E4290 #90425D #849042 #429075
split-complementary
#4E4290 #907542 #5D9042
monochromatic
#211C3C #372F66 #4E4290 #695BB4 #8F85C7

Accessibility & contrast

On white

8.38
#4E4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4290
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4290#FFFFFF#000000##FFFFFF
##4E42901.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5093
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#3A5362
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4290;
/* rgb */ color: rgb(78, 66, 144);
/* oklch */ color: oklch(43.3% 0.124 287.1);
Tailwind
colors: {
  custom: {
    50: '#8476b1',
    500: '#4e4290',
    950: '#000000',
  },
}
SCSS
$custom: #4e4290;
$custom-light: #8476b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4290",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 249.231,
    "s": 37.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.124,
    "h": 287.1
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#4E4290
secondary
#AAB27C
accent
#CD5BBC
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4290

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

Preview Lab → · Contrast checker → · Palette generator →

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