#4E4BB2#4E4BB2

#4E4BB2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.159 H 279.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4E4BB2
RGBrgb(78, 75, 178)
HSLhsl(242, 41%, 50%)
HSVhsv(242, 58%, 70%)
CMYKcmyk(56.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(37.60, 31.07, -54.65)
CIE-LCHlch(37.60, 62.87, 299.62°)
OKLaboklab(47.47% 0.0269 -0.1567)
OKLCHoklch(47.47% 0.159 279.8)
XYZxyz(13.6913, 9.8653, 43.2936)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BB2 #AFB24B
analogous
#4B7BB2 #4E4BB2 #824BB2
triadic
#4E4BB2 #B24E4B #4BB24E
tetradic
#4E4BB2 #B24B7B #AFB24B #4BB282
square
#4E4BB2 #B24B7B #AFB24B #4BB282
split-complementary
#4E4BB2 #B2824B #7BB24B
monochromatic
#28275C #3B3987 #4E4BB2 #7875C5 #A2A0D7

Accessibility & contrast

On white

7.06
#4E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E4BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BB2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BB2#FFFFFF#000000##FFFFFF
##4E4BB21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#1B6377
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4bb2;
/* rgb */ color: rgb(78, 75, 178);
/* oklch */ color: oklch(47.5% 0.159 279.8);
Tailwind
colors: {
  custom: {
    50: '#887dca',
    500: '#4e4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4bb2;
$custom-light: #887dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4bb2",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 241.748,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.15899,
    "h": 279.8
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#4E4BB2
secondary
#C3C495
accent
#D157CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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