#5474FF#5474FF

#5474FF is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.2% C 0.209 H 269.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5474FF
RGBrgb(84, 116, 255)
HSLhsl(229, 100%, 66%)
HSVhsv(229, 67%, 100%)
CMYKcmyk(67.1%, 54.5%, 0%, 0%)
CIE-LABlab(53.59, 32.51, -72.64)
CIE-LCHlch(53.59, 79.59, 294.11°)
OKLaboklab(61.22% -0.0019 -0.209)
OKLCHoklch(61.22% 0.209 269.5)
XYZxyz(27.9454, 21.5929, 97.2835)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474FF #FFDF54
analogous
#54CAFF #5474FF #8A54FF
triadic
#5474FF #FF5474 #74FF54
tetradic
#5474FF #FF54CA #FFDF54 #54FF8A
square
#5474FF #FF54CA #FFDF54 #54FF8A
split-complementary
#5474FF #FF8A54 #CAFF54
monochromatic
#0029D9 #1742FF #5474FF #91A6FF #CED7FF

Accessibility & contrast

On white

3.95
#5474FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5474FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474FF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474FF#FFFFFF#000000##000000
##5474FF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0096AE
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5474ff;
/* rgb */ color: rgb(84, 116, 255);
/* oklch */ color: oklch(61.2% 0.209 269.5);
Tailwind
colors: {
  custom: {
    50: '#969bff',
    500: '#5474ff',
    950: '#000000',
  },
}
SCSS
$custom: #5474ff;
$custom-light: #969bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ff",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 228.772,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.20905,
    "h": 269.5
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#5474FF
secondary
#F3E9BC
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5474FF

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

Preview Lab → · Contrast checker → · Palette generator →

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