#5474F1#5474F1

#5474F1 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.191 H 269.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5474F1
RGBrgb(84, 116, 241)
HSLhsl(228, 85%, 64%)
HSVhsv(228, 65%, 95%)
CMYKcmyk(65.1%, 51.9%, 0%, 5.5%)
CIE-LABlab(52.65, 27.74, -66.41)
CIE-LCHlch(52.65, 71.97, 292.67°)
OKLaboklab(60.21% -0.0028 -0.1907)
OKLCHoklch(60.21% 0.191 269.2)
XYZxyz(25.7733, 20.7241, 85.8439)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474F1 #F1D154
analogous
#54C2F1 #5474F1 #8254F1
triadic
#5474F1 #F15474 #74F154
tetradic
#5474F1 #F154C2 #F1D154 #54F182
square
#5474F1 #F154C2 #F1D154 #54F182
split-complementary
#5474F1 #F18254 #C2F154
monochromatic
#0F32BB #1B46EC #5474F1 #8DA2F6 #C5D0FA

Accessibility & contrast

On white

4.08
#5474F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5474F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474F1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474F1#FFFFFF#000000##000000
##5474F11.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2385F5
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5474f1;
/* rgb */ color: rgb(84, 116, 241);
/* oklch */ color: oklch(60.2% 0.191 269.2);
Tailwind
colors: {
  custom: {
    50: '#949bf6',
    500: '#5474f1',
    950: '#000000',
  },
}
SCSS
$custom: #5474f1;
$custom-light: #949bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5474f1",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 227.771,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.19071,
    "h": 269.2
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#5474F1
secondary
#ECE1B5
accent
#B404E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5474F1

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

Preview Lab → · Contrast checker → · Palette generator →

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