#5474E7#5474E7

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

Color values

HEX#5474E7
RGBrgb(84, 116, 231)
HSLhsl(227, 75%, 62%)
HSVhsv(227, 64%, 91%)
CMYKcmyk(63.6%, 49.8%, 0%, 9.4%)
CIE-LABlab(52.00, 24.33, -61.86)
CIE-LCHlch(52.00, 66.48, 291.47°)
OKLaboklab(59.51% -0.0037 -0.1773)
OKLCHoklch(59.51% 0.177 268.8)
XYZxyz(24.3204, 20.1429, 78.1921)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474E7 #E7C754
analogous
#54BEE7 #5474E7 #7E54E7
triadic
#5474E7 #E75474 #74E754
tetradic
#5474E7 #E754BE #E7C754 #54E77E
square
#5474E7 #E754BE #E7C754 #54E77E
split-complementary
#5474E7 #E77E54 #BEE754
monochromatic
#1837A9 #1F49DF #5474E7 #8AA0EF #BFCBF6

Accessibility & contrast

On white

4.18
#5474E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5474E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474E7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474E7#FFFFFF#000000##000000
##5474E71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#0276E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5474e7;
/* rgb */ color: rgb(84, 116, 231);
/* oklch */ color: oklch(59.5% 0.177 268.8);
Tailwind
colors: {
  custom: {
    50: '#929bef',
    500: '#5474e7',
    950: '#000000',
  },
}
SCSS
$custom: #5474e7;
$custom-light: #929bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5474e7",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 226.939,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.17736,
    "h": 268.8
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#5474E7
secondary
#E7DBB0
accent
#AC0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474E7

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

Preview Lab → · Contrast checker → · Palette generator →

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