#5478F7#5478F7

#5478F7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.194 H 268.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5478F7
RGBrgb(84, 120, 247)
HSLhsl(227, 91%, 65%)
HSVhsv(227, 66%, 97%)
CMYKcmyk(66%, 51.4%, 0%, 3.1%)
CIE-LABlab(54.06, 27.33, -67.46)
CIE-LCHlch(54.06, 72.79, 292.06°)
OKLaboklab(61.41% -0.0058 -0.1937)
OKLCHoklch(61.41% 0.194 268.3)
XYZxyz(27.1554, 22.0306, 90.7989)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478F7 #F7D354
analogous
#54CAF7 #5478F7 #8154F7
triadic
#5478F7 #F75478 #78F754
tetradic
#5478F7 #F754CA #F7D354 #54F781
square
#5478F7 #F754CA #F7D354 #54F781
split-complementary
#5478F7 #F78154 #CAF754
monochromatic
#0933C7 #1A4AF4 #5478F7 #8EA6FA #C9D4FC

Accessibility & contrast

On white

3.88
#5478F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5478F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478F7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478F7#FFFFFF#000000##000000
##5478F71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2789FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5478f7;
/* rgb */ color: rgb(84, 120, 247);
/* oklch */ color: oklch(61.4% 0.194 268.3);
Tailwind
colors: {
  custom: {
    50: '#959efb',
    500: '#5478f7',
    950: '#000000',
  },
}
SCSS
$custom: #5478f7;
$custom-light: #959efb;
$custom-dark: #000000;
JSON
{
  "hex": "#5478f7",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 226.748,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.19382,
    "h": 268.3
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#5478F7
secondary
#EFE3B8
accent
#B300E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5478F7

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

Preview Lab → · Contrast checker → · Palette generator →

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