#5478FD#5478FD

#5478FD is a mid, highly saturated blue. Relative luminance 0.224; OKLCH L 61.8% C 0.202 H 268.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5478FD
RGBrgb(84, 120, 253)
HSLhsl(227, 98%, 66%)
HSVhsv(227, 67%, 99%)
CMYKcmyk(66.8%, 52.6%, 0%, 0.8%)
CIE-LABlab(54.46, 29.38, -70.14)
CIE-LCHlch(54.46, 76.04, 292.73°)
OKLaboklab(61.83% -0.0053 -0.2016)
OKLCHoklch(61.83% 0.202 268.5)
XYZxyz(28.0962, 22.4069, 95.7538)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478FD #FDD954
analogous
#54CCFD #5478FD #8454FD
triadic
#5478FD #FD5478 #78FD54
tetradic
#5478FD #FD54CC #FDD954 #54FD84
square
#5478FD #FD54CC #FDD954 #54FD84
split-complementary
#5478FD #FD8454 #CCFD54
monochromatic
#022FD4 #1848FC #5478FD #90A8FE #CDD8FE

Accessibility & contrast

On white

3.83
#5478FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5478FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478FD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478FD#FFFFFF#000000##000000
##5478FD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#198AFF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5478fd;
/* rgb */ color: rgb(84, 120, 253);
/* oklch */ color: oklch(61.8% 0.202 268.5);
Tailwind
colors: {
  custom: {
    50: '#969eff',
    500: '#5478fd',
    950: '#000000',
  },
}
SCSS
$custom: #5478fd;
$custom-light: #969eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5478fd",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 227.219,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.20169,
    "h": 268.5
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#5478FD
secondary
#F2E6BB
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5478FD

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

Preview Lab → · Contrast checker → · Palette generator →

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