#4E4AB5#4E4AB5

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

Color values

HEX#4E4AB5
RGBrgb(78, 74, 181)
HSLhsl(242, 42%, 50%)
HSVhsv(242, 59%, 71%)
CMYKcmyk(56.9%, 59.1%, 0%, 29%)
CIE-LABlab(37.58, 32.68, -56.46)
CIE-LCHlch(37.58, 65.24, 300.06°)
OKLaboklab(47.52% 0.0279 -0.162)
OKLCHoklch(47.52% 0.164 279.8)
XYZxyz(13.9285, 9.8525, 44.8749)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB5 #B1B54A
analogous
#4A7BB5 #4E4AB5 #844AB5
triadic
#4E4AB5 #B54E4A #4AB54E
tetradic
#4E4AB5 #B54A7B #B1B54A #4AB584
square
#4E4AB5 #B54A7B #B1B54A #4AB584
split-complementary
#4E4AB5 #B5844A #7BB54A
monochromatic
#29265E #3B388A #4E4AB5 #7875C7 #A3A1D9

Accessibility & contrast

On white

7.07
#4E4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4AB5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB5#FFFFFF#000000##FFFFFF
##4E4AB51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#166378
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ab5;
/* rgb */ color: rgb(78, 74, 181);
/* oklch */ color: oklch(47.5% 0.164 279.8);
Tailwind
colors: {
  custom: {
    50: '#897dcc',
    500: '#4e4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab5;
$custom-light: #897dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab5",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 242.243,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.16441,
    "h": 279.8
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#4E4AB5
secondary
#C4C595
accent
#D256CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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