#5478EF#5478EF

#5478EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.183 H 267.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5478EF
RGBrgb(84, 120, 239)
HSLhsl(226, 83%, 63%)
HSVhsv(226, 65%, 94%)
CMYKcmyk(64.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.54, 24.60, -63.84)
CIE-LCHlch(53.54, 68.42, 291.07°)
OKLaboklab(60.85% -0.0066 -0.1831)
OKLCHoklch(60.85% 0.183 267.9)
XYZxyz(25.9473, 21.5473, 84.4363)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478EF #EFCB54
analogous
#54C5EF #5478EF #7D54EF
triadic
#5478EF #EF5478 #78EF54
tetradic
#5478EF #EF54C5 #EFCB54 #54EF7D
square
#5478EF #EF54C5 #EFCB54 #54EF7D
split-complementary
#5478EF #EF7D54 #C5EF54
monochromatic
#1138B7 #1C4CEA #5478EF #8CA4F4 #C4D0F9

Accessibility & contrast

On white

3.95
#5478EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5478EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478EF#FFFFFF#000000##000000
##5478EF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5478ef;
/* rgb */ color: rgb(84, 120, 239);
/* oklch */ color: oklch(60.8% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#939ef5',
    500: '#5478ef',
    950: '#000000',
  },
}
SCSS
$custom: #5478ef;
$custom-light: #939ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ef",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 226.065,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.18322,
    "h": 267.9
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#5478EF
secondary
#EBDEB4
accent
#AD06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478EF

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

Preview Lab → · Contrast checker → · Palette generator →

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