#4E5FAA#4E5FAA

#4E5FAA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.120 H 271.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4E5FAA
RGBrgb(78, 95, 170)
HSLhsl(229, 37%, 49%)
HSVhsv(229, 54%, 67%)
CMYKcmyk(54.1%, 44.1%, 0%, 33.3%)
CIE-LABlab(42.32, 15.73, -42.35)
CIE-LCHlch(42.32, 45.18, 290.37°)
OKLaboklab(50.85% 0.004 -0.1203)
OKLCHoklch(50.85% 0.12 271.9)
XYZxyz(14.4874, 12.7054, 39.7114)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FAA #AA994E
analogous
#4E8DAA #4E5FAA #6B4EAA
triadic
#4E5FAA #AA4E5F #5FAA4E
tetradic
#4E5FAA #AA4E8D #AA994E #4EAA6B
square
#4E5FAA #AA4E8D #AA994E #4EAA6B
split-complementary
#4E5FAA #AA6B4E #8DAA4E
monochromatic
#283056 #3B4880 #4E5FAA #7583C0 #9FA9D3

Accessibility & contrast

On white

5.93
#4E5FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E5FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FAA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FAA#FFFFFF#000000##FFFFFF
##4E5FAA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#216F7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5faa;
/* rgb */ color: rgb(78, 95, 170);
/* oklch */ color: oklch(50.9% 0.120 271.9);
Tailwind
colors: {
  custom: {
    50: '#868cc4',
    500: '#4e5faa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5faa;
$custom-light: #868cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5faa",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 228.913,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.12042,
    "h": 271.9
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#4E5FAA
secondary
#C0B894
accent
#B85BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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