#5470EA#5470EA

#5470EA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.186 H 270.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5470EA
RGBrgb(84, 112, 234)
HSLhsl(229, 78%, 62%)
HSVhsv(229, 64%, 92%)
CMYKcmyk(64.1%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.17, 27.82, -64.89)
CIE-LCHlch(51.17, 70.60, 293.21°)
OKLaboklab(58.95% 0.0002 -0.1863)
OKLCHoklch(58.95% 0.186 270.1)
XYZxyz(24.2966, 19.4115, 80.2923)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5470EA #EACE54
analogous
#54BBEA #5470EA #8354EA
triadic
#5470EA #EA5470 #70EA54
tetradic
#5470EA #EA54BB #EACE54 #54EA83
square
#5470EA #EA54BB #EACE54 #54EA83
split-complementary
#5470EA #EA8354 #BBEA54
monochromatic
#1532AE #1D42E3 #5470EA #8B9EF1 #C1CBF7

Accessibility & contrast

On white

4.30
#5470EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5470EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5470EA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5470EA#FFFFFF#000000##000000
##5470EA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5470ea;
/* rgb */ color: rgb(84, 112, 234);
/* oklch */ color: oklch(58.9% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#9398f1',
    500: '#5470ea',
    950: '#000000',
  },
}
SCSS
$custom: #5470ea;
$custom-light: #9398f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5470ea",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 228.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.18627,
    "h": 270.1
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#5470EA
secondary
#E8DEB2
accent
#B40BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5470EA

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

Preview Lab → · Contrast checker → · Palette generator →

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