#5475E4#5475E4

#5475E4 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.172 H 268.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5475E4
RGBrgb(84, 117, 228)
HSLhsl(226, 73%, 61%)
HSVhsv(226, 63%, 89%)
CMYKcmyk(63.2%, 48.7%, 0%, 10.6%)
CIE-LABlab(52.07, 22.70, -60.06)
CIE-LCHlch(52.07, 64.21, 290.70°)
OKLaboklab(59.51% -0.005 -0.172)
OKLCHoklch(59.51% 0.172 268.3)
XYZxyz(24.0163, 20.2067, 76.0184)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5475E4 #E4C354
analogous
#54BDE4 #5475E4 #7B54E4
triadic
#5475E4 #E45475 #75E454
tetradic
#5475E4 #E454BD #E4C354 #54E47B
square
#5475E4 #E454BD #E4C354 #54E47B
split-complementary
#5475E4 #E47B54 #BDE454
monochromatic
#1A39A4 #224CD9 #5475E4 #89A0EC #BECAF5

Accessibility & contrast

On white

4.17
#5475E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5475E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5475E4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5475E4#FFFFFF#000000##000000
##5475E41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#1776E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5475e4;
/* rgb */ color: rgb(84, 117, 228);
/* oklch */ color: oklch(59.5% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#919ced',
    500: '#5475e4',
    950: '#000000',
  },
}
SCSS
$custom: #5475e4;
$custom-light: #919ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5475e4",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 226.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.17208,
    "h": 268.3
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#5475E4
secondary
#E5D9AF
accent
#A811D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5475E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5475E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva