#5478F1#5478F1

#5478F1 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.186 H 268.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5478F1
RGBrgb(84, 120, 241)
HSLhsl(226, 85%, 64%)
HSVhsv(226, 65%, 95%)
CMYKcmyk(65.1%, 50.2%, 0%, 5.5%)
CIE-LABlab(53.67, 25.28, -64.75)
CIE-LCHlch(53.67, 69.51, 291.33°)
OKLaboklab(60.99% -0.0063 -0.1858)
OKLCHoklch(60.99% 0.186 268)
XYZxyz(26.2444, 21.6662, 86.0010)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478F1 #F1CD54
analogous
#54C6F1 #5478F1 #7E54F1
triadic
#5478F1 #F15478 #78F154
tetradic
#5478F1 #F154C6 #F1CD54 #54F17E
square
#5478F1 #F154C6 #F1CD54 #54F17E
split-complementary
#5478F1 #F17E54 #C6F154
monochromatic
#0F37BB #1B4BEC #5478F1 #8DA5F6 #C5D1FA

Accessibility & contrast

On white

3.94
#5478F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5478F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478F1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478F1#FFFFFF#000000##000000
##5478F11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F5
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5478f1;
/* rgb */ color: rgb(84, 120, 241);
/* oklch */ color: oklch(61.0% 0.186 268.0);
Tailwind
colors: {
  custom: {
    50: '#949ef6',
    500: '#5478f1',
    950: '#000000',
  },
}
SCSS
$custom: #5478f1;
$custom-light: #949ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5478f1",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 226.242,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.18588,
    "h": 268
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

primary
#5478F1
secondary
#ECDFB5
accent
#AF04E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478F1

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

Preview Lab → · Contrast checker → · Palette generator →

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