#4E4B97#4E4B97

#4E4B97 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.121 H 282.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4E4B97
RGBrgb(78, 75, 151)
HSLhsl(242, 34%, 44%)
HSVhsv(242, 50%, 59%)
CMYKcmyk(48.3%, 50.3%, 0%, 40.8%)
CIE-LABlab(35.76, 22.32, -41.46)
CIE-LCHlch(35.76, 47.09, 298.29°)
OKLaboklab(45.51% 0.0256 -0.1179)
OKLCHoklch(45.51% 0.121 282.3)
XYZxyz(11.2422, 8.8857, 30.3949)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B97 #94974B
analogous
#4B6E97 #4E4B97 #744B97
triadic
#4E4B97 #974E4B #4B974E
tetradic
#4E4B97 #974B6E #94974B #4B9774
square
#4E4B97 #974B6E #94974B #4B9774
split-complementary
#4E4B97 #97744B #6E974B
monochromatic
#242245 #39376E #4E4B97 #6D6AB5 #9593C9

Accessibility & contrast

On white

7.56
#4E4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B97
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B97#FFFFFF#000000##FFFFFF
##4E4B971.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#245295
Tritanopia (blue-blind)
#345B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4b97;
/* rgb */ color: rgb(78, 75, 151);
/* oklch */ color: oklch(45.5% 0.121 282.3);
Tailwind
colors: {
  custom: {
    50: '#847db6',
    500: '#4e4b97',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b97;
$custom-light: #847db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b97",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 242.368,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.12065,
    "h": 282.3
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#4E4B97
secondary
#B4B688
accent
#CA5EC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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