#5474D3#5474D3

#5474D3 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.150 H 267.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5474D3
RGBrgb(84, 116, 211)
HSLhsl(225, 59%, 58%)
HSVhsv(225, 60%, 83%)
CMYKcmyk(60.2%, 45%, 0%, 17.3%)
CIE-LABlab(50.78, 17.55, -52.54)
CIE-LCHlch(50.78, 55.39, 288.47°)
OKLaboklab(58.19% -0.0063 -0.1499)
OKLCHoklch(58.19% 0.15 267.6)
XYZxyz(21.6554, 19.0769, 64.1564)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D3 #D3B354
analogous
#54B3D3 #5474D3 #7354D3
triadic
#5474D3 #D35474 #74D354
tetradic
#5474D3 #D354B3 #D3B354 #54D373
square
#5474D3 #D354B3 #D3B354 #54D373
split-complementary
#5474D3 #D37354 #B3D354
monochromatic
#233D89 #3053BA #5474D3 #859CE0 #B5C3EC

Accessibility & contrast

On white

4.36
#5474D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5474D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D3#FFFFFF#000000##000000
##5474D31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#3474D1
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5474d3;
/* rgb */ color: rgb(84, 116, 211);
/* oklch */ color: oklch(58.2% 0.150 267.6);
Tailwind
colors: {
  custom: {
    50: '#8f9be1',
    500: '#5474d3',
    950: '#000000',
  },
}
SCSS
$custom: #5474d3;
$custom-light: #8f9be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d3",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 211
  },
  "hsl": {
    "h": 224.882,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.15003,
    "h": 267.6
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#5474D3
secondary
#DBCEA8
accent
#BB46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474D3

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

Preview Lab → · Contrast checker → · Palette generator →

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