#4E4EB5#4E4EB5

#4E4EB5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.159 H 278.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB5
RGBrgb(78, 78, 181)
HSLhsl(240, 41%, 51%)
HSVhsv(240, 57%, 71%)
CMYKcmyk(56.9%, 56.9%, 0%, 29%)
CIE-LABlab(38.56, 30.17, -54.87)
CIE-LCHlch(38.56, 62.62, 298.81°)
OKLaboklab(48.24% 0.0239 -0.1573)
OKLCHoklch(48.24% 0.159 278.6)
XYZxyz(14.2041, 10.4037, 44.9667)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB5 #B5B54E
analogous
#4E81B5 #4E4EB5 #814EB5
triadic
#4E4EB5 #B54E4E #4EB54E
tetradic
#4E4EB5 #B54E81 #B5B54E #4EB581
square
#4E4EB5 #B54E81 #B5B54E #4EB581
split-complementary
#4E4EB5 #B5814E #81B54E
monochromatic
#282860 #3A3A8B #4E4EB5 #7979C7 #A4A4D9

Accessibility & contrast

On white

6.82
#4E4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E4EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB5#FFFFFF#000000##FFFFFF
##4E4EB51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#14667A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4eb5;
/* rgb */ color: rgb(78, 78, 181);
/* oklch */ color: oklch(48.2% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#897fcc',
    500: '#4e4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb5;
$custom-light: #897fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb5",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.15912,
    "h": 278.6
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#4E4EB5
secondary
#C6C699
accent
#D157D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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