#4E4FB6#4E4FB6

#4E4FB6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.159 H 278.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E4FB6
RGBrgb(78, 79, 182)
HSLhsl(239, 42%, 51%)
HSVhsv(239, 57%, 71%)
CMYKcmyk(57.1%, 56.6%, 0%, 28.6%)
CIE-LABlab(38.88, 29.88, -54.94)
CIE-LCHlch(38.88, 62.54, 298.53°)
OKLaboklab(48.51% 0.0228 -0.1575)
OKLCHoklch(48.51% 0.159 278.2)
XYZxyz(14.3787, 10.5881, 45.5329)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FB6 #B6B54E
analogous
#4E83B6 #4E4FB6 #814EB6
triadic
#4E4FB6 #B64E4F #4FB64E
tetradic
#4E4FB6 #B64E83 #B6B54E #4EB681
square
#4E4FB6 #B64E83 #B6B54E #4EB681
split-complementary
#4E4FB6 #B6814E #83B64E
monochromatic
#282961 #3A3B8D #4E4FB6 #797AC8 #A5A5DA

Accessibility & contrast

On white

6.74
#4E4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E4FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FB6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FB6#FFFFFF#000000##FFFFFF
##4E4FB61.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#12677B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fb6;
/* rgb */ color: rgb(78, 79, 182);
/* oklch */ color: oklch(48.5% 0.159 278.2);
Tailwind
colors: {
  custom: {
    50: '#8980cd',
    500: '#4e4fb6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fb6;
$custom-light: #8980cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fb6",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 239.423,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.15917,
    "h": 278.2
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#4E4FB6
secondary
#C7C699
accent
#D056D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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