#4E4498#4E4498

#4E4498 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.132 H 285.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E4498
RGBrgb(78, 68, 152)
HSLhsl(247, 38%, 43%)
HSVhsv(247, 55%, 60%)
CMYKcmyk(48.7%, 55.3%, 0%, 40.4%)
CIE-LABlab(34.03, 27.11, -44.86)
CIE-LCHlch(34.03, 52.41, 301.14°)
OKLaboklab(44.23% 0.0343 -0.1279)
OKLCHoklch(44.23% 0.132 285)
XYZxyz(10.8748, 8.0204, 30.6748)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4498 #8E9844
analogous
#446498 #4E4498 #784498
triadic
#4E4498 #984E44 #44984E
tetradic
#4E4498 #984464 #8E9844 #449878
square
#4E4498 #984464 #8E9844 #449878
split-complementary
#4E4498 #987844 #649844
monochromatic
#231E43 #38316E #4E4498 #6B61B8 #938BCB

Accessibility & contrast

On white

8.06
#4E4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4498
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4498#FFFFFF#000000##FFFFFF
##4E44981.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#355667
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4498;
/* rgb */ color: rgb(78, 68, 152);
/* oklch */ color: oklch(44.2% 0.132 285.0);
Tailwind
colors: {
  custom: {
    50: '#8578b7',
    500: '#4e4498',
    950: '#000000',
  },
}
SCSS
$custom: #4e4498;
$custom-light: #8578b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4498",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 247.143,
    "s": 38.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.13246,
    "h": 285
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#4E4498
secondary
#B0B681
accent
#CE5AC0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4498

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

Preview Lab → · Contrast checker → · Palette generator →

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