#5478DE#5478DE

#5478DE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.160 H 266.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5478DE
RGBrgb(84, 120, 222)
HSLhsl(224, 68%, 60%)
HSVhsv(224, 62%, 87%)
CMYKcmyk(62.2%, 45.9%, 0%, 12.9%)
CIE-LABlab(52.50, 18.81, -56.00)
CIE-LCHlch(52.50, 59.08, 288.56°)
OKLaboklab(59.72% -0.0087 -0.16)
OKLCHoklch(59.72% 0.16 266.9)
XYZxyz(23.5529, 20.5896, 71.8261)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478DE #DEBA54
analogous
#54BDDE #5478DE #7554DE
triadic
#5478DE #DE5478 #78DE54
tetradic
#5478DE #DE54BD #DEBA54 #54DE75
square
#5478DE #DE54BD #DEBA54 #54DE75
split-complementary
#5478DE #DE7554 #BDDE54
monochromatic
#1E3E9A #2853CD #5478DE #87A0E8 #BBC9F2

Accessibility & contrast

On white

4.10
#5478DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5478DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478DE#FFFFFF#000000##000000
##5478DE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E2
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5478de;
/* rgb */ color: rgb(84, 120, 222);
/* oklch */ color: oklch(59.7% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#909ee9',
    500: '#5478de',
    950: '#000000',
  },
}
SCSS
$custom: #5478de;
$custom-light: #909ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5478de",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 224.348,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.16026,
    "h": 266.9
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#5478DE
secondary
#E1D4AC
accent
#BD3DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478DE

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

Preview Lab → · Contrast checker → · Palette generator →

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