#4E4FA5#4E4FA5

#4E4FA5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.135 H 279.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E4FA5
RGBrgb(78, 79, 165)
HSLhsl(239, 36%, 48%)
HSVhsv(239, 53%, 65%)
CMYKcmyk(52.7%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.71, 24.28, -46.75)
CIE-LCHlch(37.71, 52.68, 297.45°)
OKLaboklab(47.26% 0.0221 -0.1334)
OKLCHoklch(47.26% 0.135 279.4)
XYZxyz(12.7273, 9.9275, 36.8356)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA5 #A5A44E
analogous
#4E7BA5 #4E4FA5 #784EA5
triadic
#4E4FA5 #A54E4F #4FA54E
tetradic
#4E4FA5 #A54E7B #A5A44E #4EA578
square
#4E4FA5 #A54E7B #A5A44E #4EA578
split-complementary
#4E4FA5 #A5784E #7BA54E
monochromatic
#272752 #3A3B7B #4E4FA5 #7374BD #9D9DD1

Accessibility & contrast

On white

7.03
#4E4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4FA5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA5#FFFFFF#000000##FFFFFF
##4E4FA51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#1955A3
Tritanopia (blue-blind)
#296272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4fa5;
/* rgb */ color: rgb(78, 79, 165);
/* oklch */ color: oklch(47.3% 0.135 279.4);
Tailwind
colors: {
  custom: {
    50: '#8680c0',
    500: '#4e4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa5;
$custom-light: #8680c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa5",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 239.31,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.13522,
    "h": 279.4
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#4E4FA5
secondary
#BDBD91
accent
#CB5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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