#4E5FAD#4E5FAD

#4E5FAD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.125 H 272.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E5FAD
RGBrgb(78, 95, 173)
HSLhsl(229, 38%, 49%)
HSVhsv(229, 55%, 68%)
CMYKcmyk(54.9%, 45.1%, 0%, 32.2%)
CIE-LABlab(42.49, 16.72, -43.84)
CIE-LCHlch(42.49, 46.92, 290.88°)
OKLaboklab(51.04% 0.0045 -0.1247)
OKLCHoklch(51.04% 0.125 272.1)
XYZxyz(14.7745, 12.8202, 41.2231)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FAD #AD9C4E
analogous
#4E8FAD #4E5FAD #6D4EAD
triadic
#4E5FAD #AD4E5F #5FAD4E
tetradic
#4E5FAD #AD4E8F #AD9C4E #4EAD6D
square
#4E5FAD #AD4E8F #AD9C4E #4EAD6D
split-complementary
#4E5FAD #AD6D4E #8FAD4E
monochromatic
#283159 #3B4883 #4E5FAD #7784C2 #A1AAD5

Accessibility & contrast

On white

5.89
#4E5FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E5FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FAD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FAD#FFFFFF#000000##FFFFFF
##4E5FAD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#1D707D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5fad;
/* rgb */ color: rgb(78, 95, 173);
/* oklch */ color: oklch(51.0% 0.125 272.1);
Tailwind
colors: {
  custom: {
    50: '#878cc6',
    500: '#4e5fad',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fad;
$custom-light: #878cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fad",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 173
  },
  "hsl": {
    "h": 229.263,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.12479,
    "h": 272.1
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#4E5FAD
secondary
#C2BA95
accent
#B95ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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