#5478F5#5478F5

#5478F5 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.191 H 268.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5478F5
RGBrgb(84, 120, 245)
HSLhsl(227, 89%, 65%)
HSVhsv(227, 66%, 96%)
CMYKcmyk(65.7%, 51%, 0%, 3.9%)
CIE-LABlab(53.93, 26.65, -66.56)
CIE-LCHlch(53.93, 71.70, 291.82°)
OKLaboklab(61.26% -0.006 -0.1911)
OKLCHoklch(61.26% 0.191 268.2)
XYZxyz(26.8484, 21.9078, 89.1822)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478F5 #F5D154
analogous
#54C8F5 #5478F5 #8154F5
triadic
#5478F5 #F55478 #78F554
tetradic
#5478F5 #F554C8 #F5D154 #54F581
square
#5478F5 #F554C8 #F5D154 #54F581
split-complementary
#5478F5 #F58154 #C8F554
monochromatic
#0B35C3 #1A4AF2 #5478F5 #8EA6F8 #C8D3FC

Accessibility & contrast

On white

3.90
#5478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5478F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478F5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478F5#FFFFFF#000000##000000
##5478F51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89F9
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5478f5;
/* rgb */ color: rgb(84, 120, 245);
/* oklch */ color: oklch(61.3% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#949ef9',
    500: '#5478f5',
    950: '#000000',
  },
}
SCSS
$custom: #5478f5;
$custom-light: #949ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5478f5",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 226.584,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.19118,
    "h": 268.2
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#5478F5
secondary
#EEE2B7
accent
#B200E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5478F5

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

Preview Lab → · Contrast checker → · Palette generator →

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