#5474EA#5474EA

#5474EA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.181 H 268.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5474EA
RGBrgb(84, 116, 234)
HSLhsl(227, 78%, 62%)
HSVhsv(227, 64%, 92%)
CMYKcmyk(64.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.19, 25.35, -63.23)
CIE-LCHlch(52.19, 68.13, 291.85°)
OKLaboklab(59.72% -0.0034 -0.1813)
OKLCHoklch(59.72% 0.181 268.9)
XYZxyz(24.7478, 20.3139, 80.4427)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474EA #EACA54
analogous
#54BFEA #5474EA #7F54EA
triadic
#5474EA #EA5474 #74EA54
tetradic
#5474EA #EA54BF #EACA54 #54EA7F
square
#5474EA #EA54BF #EACA54 #54EA7F
split-complementary
#5474EA #EA7F54 #BFEA54
monochromatic
#1536AE #1D48E3 #5474EA #8BA0F1 #C1CDF7

Accessibility & contrast

On white

4.15
#5474EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5474EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474EA#FFFFFF#000000##000000
##5474EA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5474ea;
/* rgb */ color: rgb(84, 116, 234);
/* oklch */ color: oklch(59.7% 0.181 268.9);
Tailwind
colors: {
  custom: {
    50: '#929bf1',
    500: '#5474ea',
    950: '#000000',
  },
}
SCSS
$custom: #5474ea;
$custom-light: #929bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ea",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 227.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.18138,
    "h": 268.9
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#5474EA
secondary
#E8DDB2
accent
#AE0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5474EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5474EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva