#5474D4#5474D4

#5474D4 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.3% C 0.151 H 267.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5474D4
RGBrgb(84, 116, 212)
HSLhsl(225, 60%, 58%)
HSVhsv(225, 60%, 83%)
CMYKcmyk(60.4%, 45.3%, 0%, 16.9%)
CIE-LABlab(50.84, 17.89, -53.01)
CIE-LCHlch(50.84, 55.95, 288.65°)
OKLaboklab(58.26% -0.0061 -0.1513)
OKLCHoklch(58.26% 0.151 267.7)
XYZxyz(21.7812, 19.1272, 64.8187)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D4 #D4B454
analogous
#54B4D4 #5474D4 #7454D4
triadic
#5474D4 #D45474 #74D454
tetradic
#5474D4 #D454B4 #D4B454 #54D474
square
#5474D4 #D454B4 #D4B454 #54D474
split-complementary
#5474D4 #D47454 #B4D454
monochromatic
#233D8B #2F52BC #5474D4 #859CE0 #B6C4ED

Accessibility & contrast

On white

4.35
#5474D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5474D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D4#FFFFFF#000000##000000
##5474D41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5474d4;
/* rgb */ color: rgb(84, 116, 212);
/* oklch */ color: oklch(58.3% 0.151 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f9be2',
    500: '#5474d4',
    950: '#000000',
  },
}
SCSS
$custom: #5474d4;
$custom-light: #8f9be2;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d4",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 212
  },
  "hsl": {
    "h": 225,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.15141,
    "h": 267.7
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#5474D4
secondary
#DBCFA8
accent
#BB45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474D4

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

Preview Lab → · Contrast checker → · Palette generator →

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