#4E4EB4#4E4EB4

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

Color values

HEX#4E4EB4
RGBrgb(78, 78, 180)
HSLhsl(240, 40%, 51%)
HSVhsv(240, 57%, 71%)
CMYKcmyk(56.7%, 56.7%, 0%, 29.4%)
CIE-LABlab(38.49, 29.84, -54.40)
CIE-LCHlch(38.49, 62.05, 298.75°)
OKLaboklab(48.17% 0.0238 -0.1559)
OKLCHoklch(48.17% 0.158 278.7)
XYZxyz(14.1019, 10.3628, 44.4283)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB4 #B4B44E
analogous
#4E81B4 #4E4EB4 #814EB4
triadic
#4E4EB4 #B44E4E #4EB44E
tetradic
#4E4EB4 #B44E81 #B4B44E #4EB481
square
#4E4EB4 #B44E81 #B4B44E #4EB481
split-complementary
#4E4EB4 #B4814E #81B44E
monochromatic
#28285F #3B3B8A #4E4EB4 #7979C6 #A4A4D8

Accessibility & contrast

On white

6.83
#4E4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E4EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB4#FFFFFF#000000##FFFFFF
##4E4EB41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#166679
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4eb4;
/* rgb */ color: rgb(78, 78, 180);
/* oklch */ color: oklch(48.2% 0.158 278.7);
Tailwind
colors: {
  custom: {
    50: '#887fcb',
    500: '#4e4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb4;
$custom-light: #887fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb4",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.15773,
    "h": 278.7
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#4E4EB4
secondary
#C6C698
accent
#D057D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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