#4E4FB5#4E4FB5

#4E4FB5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.158 H 278.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4E4FB5
RGBrgb(78, 79, 181)
HSLhsl(239, 41%, 51%)
HSVhsv(239, 57%, 71%)
CMYKcmyk(56.9%, 56.4%, 0%, 29%)
CIE-LABlab(38.81, 29.55, -54.47)
CIE-LCHlch(38.81, 61.97, 298.48°)
OKLaboklab(48.43% 0.0228 -0.1561)
OKLCHoklch(48.43% 0.158 278.3)
XYZxyz(14.2757, 10.5469, 44.9906)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FB5 #B5B44E
analogous
#4E83B5 #4E4FB5 #804EB5
triadic
#4E4FB5 #B54E4F #4FB54E
tetradic
#4E4FB5 #B54E83 #B5B44E #4EB580
square
#4E4FB5 #B54E83 #B5B44E #4EB580
split-complementary
#4E4FB5 #B5804E #83B54E
monochromatic
#282960 #3A3B8B #4E4FB5 #797AC7 #A4A5D9

Accessibility & contrast

On white

6.75
#4E4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E4FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FB5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FB5#FFFFFF#000000##FFFFFF
##4E4FB51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#14677A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4fb5;
/* rgb */ color: rgb(78, 79, 181);
/* oklch */ color: oklch(48.4% 0.158 278.3);
Tailwind
colors: {
  custom: {
    50: '#8980cc',
    500: '#4e4fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fb5;
$custom-light: #8980cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fb5",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 239.417,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.15778,
    "h": 278.3
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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