#4E5FDF#4E5FDF

#4E5FDF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.194 H 272.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E5FDF
RGBrgb(78, 95, 223)
HSLhsl(233, 69%, 59%)
HSVhsv(233, 65%, 87%)
CMYKcmyk(65%, 57.4%, 0%, 12.5%)
CIE-LABlab(45.81, 33.66, -67.38)
CIE-LCHlch(45.81, 75.32, 296.55°)
OKLaboklab(54.6% 0.0085 -0.1939)
OKLCHoklch(54.6% 0.194 272.5)
XYZxyz(20.5489, 15.1300, 71.6352)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FDF #DFCE4E
analogous
#4EA7DF #4E5FDF #864EDF
triadic
#4E5FDF #DF4E5F #5FDF4E
tetradic
#4E5FDF #DF4EA7 #DFCE4E #4EDF86
square
#4E5FDF #DF4EA7 #DFCE4E #4EDF86
split-complementary
#4E5FDF #DF864E #A7DF4E
monochromatic
#1B2A97 #2538CB #4E5FDF #828EE8 #B6BDF2

Accessibility & contrast

On white

5.22
#4E5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E5FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FDF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FDF#FFFFFF#000000##FFFFFF
##4E5FDF1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e5fdf;
/* rgb */ color: rgb(78, 95, 223);
/* oklch */ color: oklch(54.6% 0.194 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f8cea',
    500: '#4e5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fdf;
$custom-light: #8f8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fdf",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 232.966,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.19412,
    "h": 272.5
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#4E5FDF
secondary
#E1DAA8
accent
#D73CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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