#4E4299#4E4299

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

Color values

HEX#4E4299
RGBrgb(78, 66, 153)
HSLhsl(248, 40%, 43%)
HSVhsv(248, 57%, 60%)
CMYKcmyk(49%, 56.9%, 0%, 40%)
CIE-LABlab(33.60, 28.69, -46.16)
CIE-LCHlch(33.60, 54.35, 301.86°)
OKLaboklab(43.93% 0.0368 -0.1318)
OKLCHoklch(43.93% 0.137 285.6)
XYZxyz(10.8382, 7.8155, 31.0683)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4299 #8D9942
analogous
#426199 #4E4299 #794299
triadic
#4E4299 #994E42 #42994E
tetradic
#4E4299 #994261 #8D9942 #429979
square
#4E4299 #994261 #8D9942 #429979
split-complementary
#4E4299 #997942 #619942
monochromatic
#221D43 #38306E #4E4299 #6B5EBA #9289CC

Accessibility & contrast

On white

8.19
#4E4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4299
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4299#FFFFFF#000000##FFFFFF
##4E42991.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#345567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4299;
/* rgb */ color: rgb(78, 66, 153);
/* oklch */ color: oklch(43.9% 0.137 285.6);
Tailwind
colors: {
  custom: {
    50: '#8577b8',
    500: '#4e4299',
    950: '#000000',
  },
}
SCSS
$custom: #4e4299;
$custom-light: #8577b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4299",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 248.276,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.13679,
    "h": 285.6
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#4E4299
secondary
#AFB780
accent
#D058BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4299

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

Preview Lab → · Contrast checker → · Palette generator →

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