#4E4098#4E4098

#4E4098 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.138 H 286.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E4098
RGBrgb(78, 64, 152)
HSLhsl(250, 41%, 42%)
HSVhsv(250, 58%, 60%)
CMYKcmyk(48.7%, 57.9%, 0%, 40.4%)
CIE-LABlab(33.03, 29.63, -46.46)
CIE-LCHlch(33.03, 55.10, 302.53°)
OKLaboklab(43.49% 0.0391 -0.1326)
OKLCHoklch(43.49% 0.138 286.4)
XYZxyz(10.6411, 7.5530, 30.5969)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4098 #8A9840
analogous
#405E98 #4E4098 #7A4098
triadic
#4E4098 #984E40 #40984E
tetradic
#4E4098 #98405E #8A9840 #40987A
square
#4E4098 #98405E #8A9840 #40987A
split-complementary
#4E4098 #987A40 #5E9840
monochromatic
#221C42 #382E6D #4E4098 #6A5BBA #9186CC

Accessibility & contrast

On white

8.36
#4E4098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4098
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4098#FFFFFF#000000##FFFFFF
##4E40981.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#355465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4098;
/* rgb */ color: rgb(78, 64, 152);
/* oklch */ color: oklch(43.5% 0.138 286.4);
Tailwind
colors: {
  custom: {
    50: '#8575b7',
    500: '#4e4098',
    950: '#000000',
  },
}
SCSS
$custom: #4e4098;
$custom-light: #8575b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4098",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 249.545,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.13829,
    "h": 286.4
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#4E4098
secondary
#AEB77D
accent
#D157BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4098

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

Preview Lab → · Contrast checker → · Palette generator →

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