#4E4E98#4E4E98

#4E4E98 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.2% C 0.118 H 280.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E4E98
RGBrgb(78, 78, 152)
HSLhsl(240, 32%, 45%)
HSVhsv(240, 49%, 60%)
CMYKcmyk(48.7%, 48.7%, 0%, 40.4%)
CIE-LABlab(36.62, 20.71, -40.70)
CIE-LCHlch(36.62, 45.66, 296.98°)
OKLaboklab(46.18% 0.022 -0.1156)
OKLCHoklch(46.18% 0.118 280.8)
XYZxyz(11.5321, 9.3349, 30.8938)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E98 #98984E
analogous
#4E7398 #4E4E98 #734E98
triadic
#4E4E98 #984E4E #4E984E
tetradic
#4E4E98 #984E73 #98984E #4E9873
square
#4E4E98 #984E73 #98984E #4E9873
split-complementary
#4E4E98 #98734E #73984E
monochromatic
#242447 #393970 #4E4E98 #6E6EB5 #9797CA

Accessibility & contrast

On white

7.32
#4E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E98
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E98#FFFFFF#000000##FFFFFF
##4E4E981.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#295396
Tritanopia (blue-blind)
#335E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4e98;
/* rgb */ color: rgb(78, 78, 152);
/* oklch */ color: oklch(46.2% 0.118 280.8);
Tailwind
colors: {
  custom: {
    50: '#847fb7',
    500: '#4e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e98;
$custom-light: #847fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e98",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.1177,
    "h": 280.8
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#4E4E98
secondary
#B6B68C
accent
#C85FC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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