#4E4198#4E4198

#4E4198 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.137 H 286.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E4198
RGBrgb(78, 65, 152)
HSLhsl(249, 40%, 43%)
HSVhsv(249, 57%, 60%)
CMYKcmyk(48.7%, 57.2%, 0%, 40.4%)
CIE-LABlab(33.28, 29.00, -46.06)
CIE-LCHlch(33.28, 54.43, 302.20°)
OKLaboklab(43.68% 0.0379 -0.1315)
OKLCHoklch(43.68% 0.137 286.1)
XYZxyz(10.6980, 7.6668, 30.6158)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4198 #8B9841
analogous
#415F98 #4E4198 #7A4198
triadic
#4E4198 #984E41 #41984E
tetradic
#4E4198 #98415F #8B9841 #41987A
square
#4E4198 #98415F #8B9841 #41987A
split-complementary
#4E4198 #987A41 #5F9841
monochromatic
#221C42 #382F6D #4E4198 #6B5DBA #9288CC

Accessibility & contrast

On white

8.29
#4E4198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4198
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4198#FFFFFF#000000##FFFFFF
##4E41981.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519B
Deuteranopia (green-blind)
#064C96
Tritanopia (blue-blind)
#355466
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4198;
/* rgb */ color: rgb(78, 65, 152);
/* oklch */ color: oklch(43.7% 0.137 286.1);
Tailwind
colors: {
  custom: {
    50: '#8576b7',
    500: '#4e4198',
    950: '#000000',
  },
}
SCSS
$custom: #4e4198;
$custom-light: #8576b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4198",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 248.966,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.13684,
    "h": 286.1
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#4E4198
secondary
#AEB77E
accent
#D058BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4198

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

Preview Lab → · Contrast checker → · Palette generator →

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