#4E4C98#4E4C98

#4E4C98 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.121 H 281.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4C98
RGBrgb(78, 76, 152)
HSLhsl(242, 33%, 45%)
HSVhsv(242, 50%, 60%)
CMYKcmyk(48.7%, 50%, 0%, 40.4%)
CIE-LABlab(36.09, 22.00, -41.55)
CIE-LCHlch(36.09, 47.01, 297.90°)
OKLaboklab(45.77% 0.0245 -0.1181)
OKLCHoklch(45.77% 0.121 281.7)
XYZxyz(11.3921, 9.0550, 30.8472)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C98 #96984C
analogous
#4C7098 #4E4C98 #744C98
triadic
#4E4C98 #984E4C #4C984E
tetradic
#4E4C98 #984C70 #96984C #4C9874
square
#4E4C98 #984C70 #96984C #4C9874
split-complementary
#4E4C98 #98744C #70984C
monochromatic
#242346 #39386F #4E4C98 #6E6CB5 #9695CA

Accessibility & contrast

On white

7.47
#4E4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E4C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C98
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C98#FFFFFF#000000##FFFFFF
##4E4C981.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#345C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4c98;
/* rgb */ color: rgb(78, 76, 152);
/* oklch */ color: oklch(45.8% 0.121 281.7);
Tailwind
colors: {
  custom: {
    50: '#847eb7',
    500: '#4e4c98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c98;
$custom-light: #847eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c98",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 241.579,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.12065,
    "h": 281.7
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#4E4C98
secondary
#B5B68A
accent
#C95EC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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