#5474D9#5474D9

#5474D9 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.158 H 268.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5474D9
RGBrgb(84, 116, 217)
HSLhsl(226, 64%, 59%)
HSVhsv(226, 61%, 85%)
CMYKcmyk(61.3%, 46.5%, 0%, 14.9%)
CIE-LABlab(51.13, 19.58, -55.37)
CIE-LCHlch(51.13, 58.73, 289.47°)
OKLaboklab(58.58% -0.0054 -0.1582)
OKLCHoklch(58.58% 0.158 268)
XYZxyz(22.4217, 19.3834, 68.1920)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D9 #D9B954
analogous
#54B7D9 #5474D9 #7754D9
triadic
#5474D9 #D95474 #74D954
tetradic
#5474D9 #D954B7 #D9B954 #54D977
square
#5474D9 #D954B7 #D9B954 #54D977
split-complementary
#5474D9 #D97754 #B7D954
monochromatic
#203C92 #2C50C4 #5474D9 #869DE4 #B8C5EF

Accessibility & contrast

On white

4.31
#5474D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5474D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D9#FFFFFF#000000##000000
##5474D91.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DD
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5474d9;
/* rgb */ color: rgb(84, 116, 217);
/* oklch */ color: oklch(58.6% 0.158 268.0);
Tailwind
colors: {
  custom: {
    50: '#909be5',
    500: '#5474d9',
    950: '#000000',
  },
}
SCSS
$custom: #5474d9;
$custom-light: #909be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d9",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 217
  },
  "hsl": {
    "h": 225.564,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.15831,
    "h": 268
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#5474D9
secondary
#DFD2AA
accent
#BF41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474D9

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

Preview Lab → · Contrast checker → · Palette generator →

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