#5470DF#5470DF

#5470DF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.171 H 269.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5470DF
RGBrgb(84, 112, 223)
HSLhsl(228, 68%, 60%)
HSVhsv(228, 62%, 87%)
CMYKcmyk(62.3%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.45, 24.09, -59.85)
CIE-LCHlch(50.45, 64.52, 291.92°)
OKLaboklab(58.18% -0.0008 -0.1715)
OKLCHoklch(58.18% 0.171 269.7)
XYZxyz(22.7651, 18.7989, 72.2266)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5470DF #DFC354
analogous
#54B5DF #5470DF #7E54DF
triadic
#5470DF #DF5470 #70DF54
tetradic
#5470DF #DF54B5 #DFC354 #54DF7E
square
#5470DF #DF54B5 #DFC354 #54DF7E
split-complementary
#5470DF #DF7E54 #B5DF54
monochromatic
#1D379C #2749CF #5470DF #889BE9 #BBC6F2

Accessibility & contrast

On white

4.41
#5470DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5470DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5470DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5470DF#FFFFFF#000000##000000
##5470DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#0C72DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5470df;
/* rgb */ color: rgb(84, 112, 223);
/* oklch */ color: oklch(58.2% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#9198ea',
    500: '#5470df',
    950: '#000000',
  },
}
SCSS
$custom: #5470df;
$custom-light: #9198ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5470df",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 227.914,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.17146,
    "h": 269.7
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#5470DF
secondary
#E2D7AD
accent
#AB15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5470DF

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

Preview Lab → · Contrast checker → · Palette generator →

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