#5474F7#5474F7

#5474F7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.199 H 269.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5474F7
RGBrgb(84, 116, 247)
HSLhsl(228, 91%, 65%)
HSVhsv(228, 66%, 97%)
CMYKcmyk(66%, 53%, 0%, 3.1%)
CIE-LABlab(53.05, 29.78, -69.10)
CIE-LCHlch(53.05, 75.24, 293.32°)
OKLaboklab(60.64% -0.0024 -0.1986)
OKLCHoklch(60.64% 0.199 269.3)
XYZxyz(26.6843, 21.0885, 90.6419)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474F7 #F7D754
analogous
#54C5F7 #5474F7 #8654F7
triadic
#5474F7 #F75474 #74F754
tetradic
#5474F7 #F754C5 #F7D754 #54F786
square
#5474F7 #F754C5 #F7D754 #54F786
split-complementary
#5474F7 #F78654 #C5F754
monochromatic
#092FC7 #1A44F4 #5474F7 #8EA4FA #C9D3FC

Accessibility & contrast

On white

4.02
#5474F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5474F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474F7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474F7#FFFFFF#000000##000000
##5474F71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1486FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5474f7;
/* rgb */ color: rgb(84, 116, 247);
/* oklch */ color: oklch(60.6% 0.199 269.3);
Tailwind
colors: {
  custom: {
    50: '#959bfb',
    500: '#5474f7',
    950: '#000000',
  },
}
SCSS
$custom: #5474f7;
$custom-light: #959bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5474f7",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 228.221,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.19862,
    "h": 269.3
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#5474F7
secondary
#EFE4B8
accent
#B800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5474F7

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

Preview Lab → · Contrast checker → · Palette generator →

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