#4E4EB6#4E4EB6

#4E4EB6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.160 H 278.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB6
RGBrgb(78, 78, 182)
HSLhsl(240, 42%, 51%)
HSVhsv(240, 57%, 71%)
CMYKcmyk(57.1%, 57.1%, 0%, 28.6%)
CIE-LABlab(38.63, 30.50, -55.35)
CIE-LCHlch(38.63, 63.20, 298.86°)
OKLaboklab(48.32% 0.0239 -0.1587)
OKLCHoklch(48.32% 0.16 278.5)
XYZxyz(14.3071, 10.4449, 45.5091)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB6 #B6B64E
analogous
#4E82B6 #4E4EB6 #824EB6
triadic
#4E4EB6 #B64E4E #4EB64E
tetradic
#4E4EB6 #B64E82 #B6B64E #4EB682
square
#4E4EB6 #B64E82 #B6B64E #4EB682
split-complementary
#4E4EB6 #B6824E #82B64E
monochromatic
#282861 #3A3A8D #4E4EB6 #7979C8 #A5A5DA

Accessibility & contrast

On white

6.80
#4E4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E4EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB6#FFFFFF#000000##FFFFFF
##4E4EB61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#12667A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4eb6;
/* rgb */ color: rgb(78, 78, 182);
/* oklch */ color: oklch(48.3% 0.160 278.5);
Tailwind
colors: {
  custom: {
    50: '#897fcd',
    500: '#4e4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb6;
$custom-light: #897fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb6",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.16049,
    "h": 278.5
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#4E4EB6
secondary
#C7C799
accent
#D156D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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