#5478D3#5478D3

#5478D3 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.145 H 265.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5478D3
RGBrgb(84, 120, 211)
HSLhsl(223, 59%, 58%)
HSVhsv(223, 60%, 83%)
CMYKcmyk(60.2%, 43.1%, 0%, 17.3%)
CIE-LABlab(51.86, 15.09, -50.81)
CIE-LCHlch(51.86, 53.00, 286.54°)
OKLaboklab(59.02% -0.0104 -0.1448)
OKLCHoklch(59.02% 0.145 265.9)
XYZxyz(22.1265, 20.0190, 64.3134)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478D3 #D3AF54
analogous
#54B8D3 #5478D3 #6F54D3
triadic
#5478D3 #D35478 #78D354
tetradic
#5478D3 #D354B8 #D3AF54 #54D36F
square
#5478D3 #D354B8 #D3AF54 #54D36F
split-complementary
#5478D3 #D36F54 #B8D354
monochromatic
#234089 #3057BA #5478D3 #859EE0 #B5C5EC

Accessibility & contrast

On white

4.20
#5478D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5478D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478D3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478D3#FFFFFF#000000##000000
##5478D31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5478d3;
/* rgb */ color: rgb(84, 120, 211);
/* oklch */ color: oklch(59.0% 0.145 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ee1',
    500: '#5478d3',
    950: '#000000',
  },
}
SCSS
$custom: #5478d3;
$custom-light: #8f9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#5478d3",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 222.992,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.14515,
    "h": 265.9
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#5478D3
secondary
#DBCCA8
accent
#B646E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478D3

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

Preview Lab → · Contrast checker → · Palette generator →

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