#4E5CDF#4E5CDF

#4E5CDF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.198 H 273.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5CDF
RGBrgb(78, 92, 223)
HSLhsl(234, 69%, 59%)
HSVhsv(234, 65%, 87%)
CMYKcmyk(65%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.08, 35.51, -68.56)
CIE-LCHlch(45.08, 77.22, 297.38°)
OKLaboklab(54.06% 0.011 -0.1974)
OKLCHoklch(54.06% 0.198 273.2)
XYZxyz(20.2839, 14.5999, 71.5469)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CDF #DFD14E
analogous
#4EA5DF #4E5CDF #894EDF
triadic
#4E5CDF #DF4E5C #5CDF4E
tetradic
#4E5CDF #DF4EA5 #DFD14E #4EDF89
square
#4E5CDF #DF4EA5 #DFD14E #4EDF89
split-complementary
#4E5CDF #DF894E #A5DF4E
monochromatic
#1B2797 #2535CB #4E5CDF #828CE8 #B6BBF2

Accessibility & contrast

On white

5.36
#4E5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5CDF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CDF#FFFFFF#000000##FFFFFF
##4E5CDF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5cdf;
/* rgb */ color: rgb(78, 92, 223);
/* oklch */ color: oklch(54.1% 0.198 273.2);
Tailwind
colors: {
  custom: {
    50: '#8f8aea',
    500: '#4e5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cdf;
$custom-light: #8f8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cdf",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 234.207,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.19776,
    "h": 273.2
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#4E5CDF
secondary
#E1DBA8
accent
#DB3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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