#5474FD#5474FD

#5474FD is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.1% C 0.206 H 269.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5474FD
RGBrgb(84, 116, 253)
HSLhsl(229, 98%, 66%)
HSVhsv(229, 67%, 99%)
CMYKcmyk(66.8%, 54.2%, 0%, 0.8%)
CIE-LABlab(53.45, 31.83, -71.76)
CIE-LCHlch(53.45, 78.50, 293.92°)
OKLaboklab(61.08% -0.002 -0.2064)
OKLCHoklch(61.08% 0.206 269.4)
XYZxyz(27.6251, 21.4648, 95.5967)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474FD #FDDD54
analogous
#54C8FD #5474FD #8854FD
triadic
#5474FD #FD5474 #74FD54
tetradic
#5474FD #FD54C8 #FDDD54 #54FD88
square
#5474FD #FD54C8 #FDDD54 #54FD88
split-complementary
#5474FD #FD8854 #C8FD54
monochromatic
#022AD4 #1843FC #5474FD #90A5FE #CDD6FE

Accessibility & contrast

On white

3.97
#5474FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5474FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474FD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474FD#FFFFFF#000000##000000
##5474FD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#0095AD
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5474fd;
/* rgb */ color: rgb(84, 116, 253);
/* oklch */ color: oklch(61.1% 0.206 269.4);
Tailwind
colors: {
  custom: {
    50: '#969bff',
    500: '#5474fd',
    950: '#000000',
  },
}
SCSS
$custom: #5474fd;
$custom-light: #969bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5474fd",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 228.639,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.20645,
    "h": 269.4
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#5474FD
secondary
#F2E8BB
accent
#BA00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5474FD

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

Preview Lab → · Contrast checker → · Palette generator →

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