#4E4B98#4E4B98

#4E4B98 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.122 H 282.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4B98
RGBrgb(78, 75, 152)
HSLhsl(242, 34%, 45%)
HSVhsv(242, 51%, 60%)
CMYKcmyk(48.7%, 50.7%, 0%, 40.4%)
CIE-LABlab(35.83, 22.64, -41.97)
CIE-LCHlch(35.83, 47.68, 298.35°)
OKLaboklab(45.58% 0.0257 -0.1194)
OKLCHoklch(45.58% 0.122 282.2)
XYZxyz(11.3238, 8.9183, 30.8244)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B98 #95984B
analogous
#4B6F98 #4E4B98 #754B98
triadic
#4E4B98 #984E4B #4B984E
tetradic
#4E4B98 #984B6F #95984B #4B9875
square
#4E4B98 #984B6F #95984B #4B9875
split-complementary
#4E4B98 #98754B #6F984B
monochromatic
#242346 #39376F #4E4B98 #6D6AB6 #9693CA

Accessibility & contrast

On white

7.54
#4E4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4B98
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B98#FFFFFF#000000##FFFFFF
##4E4B981.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#235296
Tritanopia (blue-blind)
#345C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4b98;
/* rgb */ color: rgb(78, 75, 152);
/* oklch */ color: oklch(45.6% 0.122 282.2);
Tailwind
colors: {
  custom: {
    50: '#857db7',
    500: '#4e4b98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b98;
$custom-light: #857db7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b98",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 242.338,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.12212,
    "h": 282.2
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#4E4B98
secondary
#B4B689
accent
#CA5EC6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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