#4E4FA0#4E4FA0

#4E4FA0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.128 H 279.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4FA0
RGBrgb(78, 79, 160)
HSLhsl(239, 34%, 47%)
HSVhsv(239, 51%, 63%)
CMYKcmyk(51.2%, 50.6%, 0%, 37.3%)
CIE-LABlab(37.39, 22.66, -44.28)
CIE-LCHlch(37.39, 49.74, 297.10°)
OKLaboklab(46.92% 0.0216 -0.1262)
OKLCHoklch(46.92% 0.128 279.7)
XYZxyz(12.2811, 9.7490, 34.4855)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA0 #A09F4E
analogous
#4E78A0 #4E4FA0 #764EA0
triadic
#4E4FA0 #A04E4F #4FA04E
tetradic
#4E4FA0 #A04E78 #A09F4E #4EA076
square
#4E4FA0 #A04E78 #A09F4E #4EA076
split-complementary
#4E4FA0 #A0764E #78A04E
monochromatic
#26264E #3A3B77 #4E4FA0 #7172BA #9A9BCE

Accessibility & contrast

On white

7.12
#4E4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4FA0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA0#FFFFFF#000000##FFFFFF
##4E4FA01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#21559E
Tritanopia (blue-blind)
#2E6170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4fa0;
/* rgb */ color: rgb(78, 79, 160);
/* oklch */ color: oklch(46.9% 0.128 279.7);
Tailwind
colors: {
  custom: {
    50: '#8580bd',
    500: '#4e4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa0;
$custom-light: #8580bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa0",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 239.268,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.12799,
    "h": 279.7
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#4E4FA0
secondary
#BBBA8F
accent
#C95DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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