#4E54AC#4E54AC

#4E54AC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.138 H 277.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4E54AC
RGBrgb(78, 84, 172)
HSLhsl(236, 38%, 49%)
HSVhsv(236, 55%, 67%)
CMYKcmyk(54.7%, 51.2%, 0%, 32.5%)
CIE-LABlab(39.48, 23.40, -48.08)
CIE-LCHlch(39.48, 53.47, 295.95°)
OKLaboklab(48.74% 0.0169 -0.1373)
OKLCHoklch(48.74% 0.138 277)
XYZxyz(13.7562, 10.9380, 40.4081)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54AC #ACA64E
analogous
#4E83AC #4E54AC #774EAC
triadic
#4E54AC #AC4E54 #54AC4E
tetradic
#4E54AC #AC4E83 #ACA64E #4EAC77
square
#4E54AC #AC4E83 #ACA64E #4EAC77
split-complementary
#4E54AC #AC774E #83AC4E
monochromatic
#282B58 #3B3F82 #4E54AC #767BC1 #A0A4D4

Accessibility & contrast

On white

6.59
#4E54AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E54AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54AC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54AC#FFFFFF#000000##FFFFFF
##4E54AC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#1A59AA
Tritanopia (blue-blind)
#216878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e54ac;
/* rgb */ color: rgb(78, 84, 172);
/* oklch */ color: oklch(48.7% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#8784c5',
    500: '#4e54ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e54ac;
$custom-light: #8784c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54ac",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 236.17,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.13831,
    "h": 277
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#4E54AC
secondary
#C1BE95
accent
#C65ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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