#4E5FD6#4E5FD6

#4E5FD6 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.182 H 272.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4E5FD6
RGBrgb(78, 95, 214)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 64%, 84%)
CMYKcmyk(63.6%, 55.6%, 0%, 16.1%)
CIE-LABlab(45.16, 30.60, -63.31)
CIE-LCHlch(45.16, 70.32, 295.80°)
OKLaboklab(53.91% 0.0083 -0.182)
OKLCHoklch(53.91% 0.182 272.6)
XYZxyz(19.3676, 14.6575, 65.4138)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FD6 #D6C54E
analogous
#4EA3D6 #4E5FD6 #814ED6
triadic
#4E5FD6 #D64E5F #5FD64E
tetradic
#4E5FD6 #D64EA3 #D6C54E #4ED681
square
#4E5FD6 #D64EA3 #D6C54E #4ED681
split-complementary
#4E5FD6 #D6814E #A3D64E
monochromatic
#202D8A #2B3DBB #4E5FD6 #808CE2 #B1B9ED

Accessibility & contrast

On white

5.34
#4E5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4E5FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FD6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FD6#FFFFFF#000000##FFFFFF
##4E5FD61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5fd6;
/* rgb */ color: rgb(78, 95, 214);
/* oklch */ color: oklch(53.9% 0.182 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ce3',
    500: '#4e5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fd6;
$custom-light: #8d8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fd6",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 232.5,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.18215,
    "h": 272.6
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#4E5FD6
secondary
#DBD5A4
accent
#D142E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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