#4E5FD5#4E5FD5

#4E5FD5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.181 H 272.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E5FD5
RGBrgb(78, 95, 213)
HSLhsl(232, 62%, 57%)
HSVhsv(232, 63%, 84%)
CMYKcmyk(63.4%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.09, 30.26, -62.85)
CIE-LCHlch(45.09, 69.76, 295.71°)
OKLaboklab(53.84% 0.0083 -0.1806)
OKLCHoklch(53.84% 0.181 272.6)
XYZxyz(19.2403, 14.6066, 64.7433)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FD5 #D5C44E
analogous
#4EA3D5 #4E5FD5 #804ED5
triadic
#4E5FD5 #D54E5F #5FD54E
tetradic
#4E5FD5 #D54EA3 #D5C44E #4ED580
square
#4E5FD5 #D54EA3 #D5C44E #4ED580
split-complementary
#4E5FD5 #D5804E #A3D54E
monochromatic
#202D88 #2C3EBA #4E5FD5 #7F8CE1 #B1B8EC

Accessibility & contrast

On white

5.35
#4E5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4E5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FD5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FD5#FFFFFF#000000##FFFFFF
##4E5FD51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5fd5;
/* rgb */ color: rgb(78, 95, 213);
/* oklch */ color: oklch(53.8% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ce3',
    500: '#4e5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fd5;
$custom-light: #8d8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fd5",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 232.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.18081,
    "h": 272.6
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#4E5FD5
secondary
#DBD4A4
accent
#D043E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4E5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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