#4E4FA3#4E4FA3

#4E4FA3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.132 H 279.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E4FA3
RGBrgb(78, 79, 163)
HSLhsl(239, 35%, 47%)
HSVhsv(239, 52%, 64%)
CMYKcmyk(52.1%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.58, 23.63, -45.77)
CIE-LCHlch(37.58, 51.51, 297.31°)
OKLaboklab(47.12% 0.0219 -0.1305)
OKLCHoklch(47.12% 0.132 279.5)
XYZxyz(12.5467, 9.8553, 35.8844)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA3 #A3A24E
analogous
#4E7AA3 #4E4FA3 #784EA3
triadic
#4E4FA3 #A34E4F #4FA34E
tetradic
#4E4FA3 #A34E7A #A3A24E #4EA378
square
#4E4FA3 #A34E7A #A3A24E #4EA378
split-complementary
#4E4FA3 #A3784E #7AA34E
monochromatic
#262750 #3A3B7A #4E4FA3 #7273BC #9C9CD0

Accessibility & contrast

On white

7.07
#4E4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4FA3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA3#FFFFFF#000000##FFFFFF
##4E4FA31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#1C55A1
Tritanopia (blue-blind)
#2B6271
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4fa3;
/* rgb */ color: rgb(78, 79, 163);
/* oklch */ color: oklch(47.1% 0.132 279.5);
Tailwind
colors: {
  custom: {
    50: '#8680bf',
    500: '#4e4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa3;
$custom-light: #8680bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa3",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 239.294,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.13234,
    "h": 279.5
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#4E4FA3
secondary
#BCBC91
accent
#CA5CCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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