#5474E6#5474E6

#5474E6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.176 H 268.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5474E6
RGBrgb(84, 116, 230)
HSLhsl(227, 74%, 62%)
HSVhsv(227, 63%, 90%)
CMYKcmyk(63.5%, 49.6%, 0%, 9.8%)
CIE-LABlab(51.94, 23.99, -61.40)
CIE-LCHlch(51.94, 65.92, 291.34°)
OKLaboklab(59.45% -0.0038 -0.176)
OKLCHoklch(59.45% 0.176 268.8)
XYZxyz(24.1796, 20.0866, 77.4504)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474E6 #E6C654
analogous
#54BDE6 #5474E6 #7D54E6
triadic
#5474E6 #E65474 #74E654
tetradic
#5474E6 #E654BD #E6C654 #54E67D
square
#5474E6 #E654BD #E6C654 #54E67D
split-complementary
#5474E6 #E67D54 #BDE654
monochromatic
#1838A7 #204ADD #5474E6 #899FEE #BFCBF6

Accessibility & contrast

On white

4.19
#5474E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5474E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474E6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474E6#FFFFFF#000000##000000
##5474E61.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#0876E4
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5474e6;
/* rgb */ color: rgb(84, 116, 230);
/* oklch */ color: oklch(59.4% 0.176 268.8);
Tailwind
colors: {
  custom: {
    50: '#929bef',
    500: '#5474e6',
    950: '#000000',
  },
}
SCSS
$custom: #5474e6;
$custom-light: #929bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5474e6",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 226.849,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.17601,
    "h": 268.8
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#5474E6
secondary
#E6DAB0
accent
#AB0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474E6

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

Preview Lab → · Contrast checker → · Palette generator →

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