#4E4EB2#4E4EB2

#4E4EB2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.155 H 278.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB2
RGBrgb(78, 78, 178)
HSLhsl(240, 39%, 50%)
HSVhsv(240, 56%, 70%)
CMYKcmyk(56.2%, 56.2%, 0%, 30.2%)
CIE-LABlab(38.34, 29.19, -53.45)
CIE-LCHlch(38.34, 60.90, 298.64°)
OKLaboklab(48.02% 0.0238 -0.1531)
OKLCHoklch(48.02% 0.155 278.8)
XYZxyz(13.8996, 10.2819, 43.3630)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB2 #B2B24E
analogous
#4E80B2 #4E4EB2 #804EB2
triadic
#4E4EB2 #B24E4E #4EB24E
tetradic
#4E4EB2 #B24E80 #B2B24E #4EB280
square
#4E4EB2 #B24E80 #B2B24E #4EB280
split-complementary
#4E4EB2 #B2804E #80B24E
monochromatic
#29295D #3B3B88 #4E4EB2 #7979C5 #A3A3D7

Accessibility & contrast

On white

6.87
#4E4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E4EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB2#FFFFFF#000000##FFFFFF
##4E4EB21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#1A6578
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4eb2;
/* rgb */ color: rgb(78, 78, 178);
/* oklch */ color: oklch(48.0% 0.155 278.8);
Tailwind
colors: {
  custom: {
    50: '#887fca',
    500: '#4e4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb2;
$custom-light: #887fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb2",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48018,
    "c": 0.15497,
    "h": 278.8
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#4E4EB2
secondary
#C4C498
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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