#4E5FA4#4E5FA4

#4E5FA4 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.5% C 0.112 H 271.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4E5FA4
RGBrgb(78, 95, 164)
HSLhsl(228, 36%, 47%)
HSVhsv(228, 52%, 64%)
CMYKcmyk(52.4%, 42.1%, 0%, 35.7%)
CIE-LABlab(41.97, 13.75, -39.34)
CIE-LCHlch(41.97, 41.68, 289.26°)
OKLaboklab(50.48% 0.0029 -0.1115)
OKLCHoklch(50.48% 0.112 271.5)
XYZxyz(13.9328, 12.4835, 36.7901)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FA4 #A4934E
analogous
#4E8AA4 #4E5FA4 #684EA4
triadic
#4E5FA4 #A44E5F #5FA44E
tetradic
#4E5FA4 #A44E8A #A4934E #4EA468
square
#4E5FA4 #A44E8A #A4934E #4EA468
split-complementary
#4E5FA4 #A4684E #8AA44E
monochromatic
#272F51 #3A477B #4E5FA4 #7381BC #9CA7D0

Accessibility & contrast

On white

6.01
#4E5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FA4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FA4#FFFFFF#000000##FFFFFF
##4E5FA41.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#276E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5fa4;
/* rgb */ color: rgb(78, 95, 164);
/* oklch */ color: oklch(50.5% 0.112 271.5);
Tailwind
colors: {
  custom: {
    50: '#858cbf',
    500: '#4e5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fa4;
$custom-light: #858cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fa4",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 228.14,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.11158,
    "h": 271.5
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#4E5FA4
secondary
#BDB491
accent
#B65CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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