#4E54AA#4E54AA

#4E54AA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.135 H 277.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E54AA
RGBrgb(78, 84, 170)
HSLhsl(236, 37%, 49%)
HSVhsv(236, 54%, 67%)
CMYKcmyk(54.1%, 50.6%, 0%, 33.3%)
CIE-LABlab(39.35, 22.73, -47.10)
CIE-LCHlch(39.35, 52.30, 295.77°)
OKLaboklab(48.6% 0.0167 -0.1344)
OKLCHoklch(48.6% 0.135 277.1)
XYZxyz(13.5656, 10.8618, 39.4041)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54AA #AAA44E
analogous
#4E82AA #4E54AA #764EAA
triadic
#4E54AA #AA4E54 #54AA4E
tetradic
#4E54AA #AA4E82 #AAA44E #4EAA76
square
#4E54AA #AA4E82 #AAA44E #4EAA76
split-complementary
#4E54AA #AA764E #82AA4E
monochromatic
#282B56 #3B3F80 #4E54AA #757AC0 #9FA3D3

Accessibility & contrast

On white

6.62
#4E54AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E54AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54AA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54AA#FFFFFF#000000##FFFFFF
##4E54AA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AD
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#236777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e54aa;
/* rgb */ color: rgb(78, 84, 170);
/* oklch */ color: oklch(48.6% 0.135 277.1);
Tailwind
colors: {
  custom: {
    50: '#8784c4',
    500: '#4e54aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e54aa;
$custom-light: #8784c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54aa",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 236.087,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.13544,
    "h": 277.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#4E54AA
secondary
#C0BD94
accent
#C65BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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