#4E4298#4E4298

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

Color values

HEX#4E4298
RGBrgb(78, 66, 152)
HSLhsl(248, 39%, 43%)
HSVhsv(248, 57%, 60%)
CMYKcmyk(48.7%, 56.6%, 0%, 40.4%)
CIE-LABlab(33.53, 28.37, -45.66)
CIE-LCHlch(33.53, 53.76, 301.85°)
OKLaboklab(43.86% 0.0368 -0.1303)
OKLCHoklch(43.86% 0.135 285.8)
XYZxyz(10.7559, 7.7826, 30.6351)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4298 #8C9842
analogous
#426198 #4E4298 #794298
triadic
#4E4298 #984E42 #42984E
tetradic
#4E4298 #984261 #8C9842 #429879
square
#4E4298 #984261 #8C9842 #429879
split-complementary
#4E4298 #987942 #619842
monochromatic
#221D43 #382F6D #4E4298 #6B5EB9 #9289CC

Accessibility & contrast

On white

8.21
#4E4298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4298
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4298#FFFFFF#000000##FFFFFF
##4E42981.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519B
Deuteranopia (green-blind)
#0B4C96
Tritanopia (blue-blind)
#355566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4298;
/* rgb */ color: rgb(78, 66, 152);
/* oklch */ color: oklch(43.9% 0.135 285.8);
Tailwind
colors: {
  custom: {
    50: '#8576b7',
    500: '#4e4298',
    950: '#000000',
  },
}
SCSS
$custom: #4e4298;
$custom-light: #8576b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4298",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 248.372,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.13538,
    "h": 285.8
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#4E4298
secondary
#AFB77F
accent
#CF58BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4298

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

Preview Lab → · Contrast checker → · Palette generator →

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