#4E4A98#4E4A98

#4E4A98 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.124 H 282.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4A98
RGBrgb(78, 74, 152)
HSLhsl(243, 35%, 44%)
HSVhsv(243, 51%, 60%)
CMYKcmyk(48.7%, 51.3%, 0%, 40.4%)
CIE-LABlab(35.56, 23.28, -42.39)
CIE-LCHlch(35.56, 48.36, 298.78°)
OKLaboklab(45.38% 0.027 -0.1206)
OKLCHoklch(45.38% 0.124 282.6)
XYZxyz(11.2565, 8.7837, 30.8020)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A98 #94984A
analogous
#4A6D98 #4E4A98 #754A98
triadic
#4E4A98 #984E4A #4A984E
tetradic
#4E4A98 #984A6D #94984A #4A9875
square
#4E4A98 #984A6D #94984A #4A9875
split-complementary
#4E4A98 #98754A #6D984A
monochromatic
#242246 #39366F #4E4A98 #6D69B6 #9592CA

Accessibility & contrast

On white

7.62
#4E4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A98
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A98#FFFFFF#000000##FFFFFF
##4E4A981.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#345B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4a98;
/* rgb */ color: rgb(78, 74, 152);
/* oklch */ color: oklch(45.4% 0.124 282.6);
Tailwind
colors: {
  custom: {
    50: '#857cb7',
    500: '#4e4a98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a98;
$custom-light: #857cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a98",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 243.077,
    "s": 34.513,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.1236,
    "h": 282.6
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#4E4A98
secondary
#B4B688
accent
#CB5DC5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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