#5474D6#5474D6

#5474D6 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.154 H 267.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5474D6
RGBrgb(84, 116, 214)
HSLhsl(225, 61%, 58%)
HSVhsv(225, 61%, 84%)
CMYKcmyk(60.7%, 45.8%, 0%, 16.1%)
CIE-LABlab(50.95, 18.56, -53.96)
CIE-LCHlch(50.95, 57.06, 288.99°)
OKLaboklab(58.38% -0.0058 -0.1541)
OKLCHoklch(58.38% 0.154 267.8)
XYZxyz(22.0350, 19.2288, 66.1556)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D6 #D6B654
analogous
#54B5D6 #5474D6 #7554D6
triadic
#5474D6 #D65474 #74D654
tetradic
#5474D6 #D654B5 #D6B654 #54D675
square
#5474D6 #D654B5 #D6B654 #54D675
split-complementary
#5474D6 #D67554 #B5D654
monochromatic
#223C8E #2E52BF #5474D6 #859CE2 #B7C4EE

Accessibility & contrast

On white

4.33
#5474D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5474D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D6#FFFFFF#000000##000000
##5474D61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DA
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5474d6;
/* rgb */ color: rgb(84, 116, 214);
/* oklch */ color: oklch(58.4% 0.154 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f9be3',
    500: '#5474d6',
    950: '#000000',
  },
}
SCSS
$custom: #5474d6;
$custom-light: #8f9be3;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d6",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 214
  },
  "hsl": {
    "h": 225.231,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.15418,
    "h": 267.8
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#5474D6
secondary
#DDD0A9
accent
#BD43E4
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #5474D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5474D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva