#5474BF#5474BF

#5474BF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.0% C 0.122 H 265.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5474BF
RGBrgb(84, 116, 191)
HSLhsl(222, 46%, 54%)
HSVhsv(222, 56%, 75%)
CMYKcmyk(56%, 39.3%, 0%, 25.1%)
CIE-LABlab(49.66, 10.88, -42.89)
CIE-LCHlch(49.66, 44.24, 284.23°)
OKLaboklab(56.97% -0.01 -0.1216)
OKLCHoklch(56.97% 0.122 265.3)
XYZxyz(19.3023, 18.1357, 51.7635)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474BF #BF9F54
analogous
#54AABF #5474BF #6A54BF
triadic
#5474BF #BF5474 #74BF54
tetradic
#5474BF #BF54AA #BF9F54 #54BF6A
square
#5474BF #BF54AA #BF9F54 #54BF6A
split-complementary
#5474BF #BF6A54 #AABF54
monochromatic
#2A3E6F #3A579C #5474BF #8198D0 #ADBCE0

Accessibility & contrast

On white

4.54
#5474BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5474BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474BF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474BF#FFFFFF#000000##000000
##5474BF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#0F8490
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5474bf;
/* rgb */ color: rgb(84, 116, 191);
/* oklch */ color: oklch(57.0% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#8c9bd3',
    500: '#5474bf',
    950: '#000000',
  },
}
SCSS
$custom: #5474bf;
$custom-light: #8c9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5474bf",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 222.056,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.12201,
    "h": 265.3
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#5474BF
secondary
#CEC1A1
accent
#AE53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5474BF

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

Preview Lab → · Contrast checker → · Palette generator →

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