#5470E2#5470E2

#5470E2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.176 H 269.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5470E2
RGBrgb(84, 112, 226)
HSLhsl(228, 71%, 61%)
HSVhsv(228, 63%, 89%)
CMYKcmyk(62.8%, 50.4%, 0%, 11.4%)
CIE-LABlab(50.64, 25.10, -61.24)
CIE-LCHlch(50.64, 66.18, 292.29°)
OKLaboklab(58.39% -0.0005 -0.1755)
OKLCHoklch(58.39% 0.176 269.8)
XYZxyz(23.1732, 18.9621, 74.3756)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5470E2 #E2C654
analogous
#54B7E2 #5470E2 #7F54E2
triadic
#5470E2 #E25470 #70E254
tetradic
#5470E2 #E254B7 #E2C654 #54E27F
square
#5470E2 #E254B7 #E2C654 #54E27F
split-complementary
#5470E2 #E27F54 #B7E254
monochromatic
#1B35A0 #2447D5 #5470E2 #889CEB #BDC8F4

Accessibility & contrast

On white

4.38
#5470E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5470E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5470E2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5470E2#FFFFFF#000000##000000
##5470E21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5470e2;
/* rgb */ color: rgb(84, 112, 226);
/* oklch */ color: oklch(58.4% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#9198ec',
    500: '#5470e2',
    950: '#000000',
  },
}
SCSS
$custom: #5470e2;
$custom-light: #9198ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5470e2",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 228.169,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58385,
    "c": 0.17553,
    "h": 269.8
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#5470E2
secondary
#E4D9AE
accent
#AD12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5470E2

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

Preview Lab → · Contrast checker → · Palette generator →

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