#5470F1#5470F1

#5470F1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.196 H 270.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5470F1
RGBrgb(84, 112, 241)
HSLhsl(229, 85%, 64%)
HSVhsv(229, 65%, 95%)
CMYKcmyk(65.1%, 53.5%, 0%, 5.5%)
CIE-LABlab(51.63, 30.20, -68.04)
CIE-LCHlch(51.63, 74.44, 293.93°)
OKLaboklab(59.45% 0.0007 -0.1955)
OKLCHoklch(59.45% 0.196 270.2)
XYZxyz(25.3221, 19.8217, 85.6935)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5470F1 #F1D554
analogous
#54BFF1 #5470F1 #8654F1
triadic
#5470F1 #F15470 #70F154
tetradic
#5470F1 #F154BF #F1D554 #54F186
square
#5470F1 #F154BF #F1D554 #54F186
split-complementary
#5470F1 #F18654 #BFF154
monochromatic
#0F2EBB #1B41EC #5470F1 #8D9FF6 #C5CFFA

Accessibility & contrast

On white

4.23
#5470F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5470F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5470F1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5470F1#FFFFFF#000000##000000
##5470F11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C82F5
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5470f1;
/* rgb */ color: rgb(84, 112, 241);
/* oklch */ color: oklch(59.4% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#9498f6',
    500: '#5470f1',
    950: '#000000',
  },
}
SCSS
$custom: #5470f1;
$custom-light: #9498f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5470f1",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 229.299,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.19555,
    "h": 270.2
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#5470F1
secondary
#ECE2B5
accent
#BA04E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5470F1

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

Preview Lab → · Contrast checker → · Palette generator →

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