#5475F1#5475F1

#5475F1 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.190 H 268.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5475F1
RGBrgb(84, 117, 241)
HSLhsl(227, 85%, 64%)
HSVhsv(227, 65%, 95%)
CMYKcmyk(65.1%, 51.5%, 0%, 5.5%)
CIE-LABlab(52.90, 27.13, -65.99)
CIE-LCHlch(52.90, 71.35, 292.34°)
OKLaboklab(60.4% -0.0037 -0.1895)
OKLCHoklch(60.4% 0.19 268.9)
XYZxyz(25.8892, 20.9559, 85.8826)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5475F1 #F1D054
analogous
#54C3F1 #5475F1 #8154F1
triadic
#5475F1 #F15475 #75F154
tetradic
#5475F1 #F154C3 #F1D054 #54F181
square
#5475F1 #F154C3 #F1D054 #54F181
split-complementary
#5475F1 #F18154 #C3F154
monochromatic
#0F33BB #1B47EC #5475F1 #8DA3F6 #C5D0FA

Accessibility & contrast

On white

4.04
#5475F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5475F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5475F1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5475F1#FFFFFF#000000##000000
##5475F11.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5475f1;
/* rgb */ color: rgb(84, 117, 241);
/* oklch */ color: oklch(60.4% 0.190 268.9);
Tailwind
colors: {
  custom: {
    50: '#949cf6',
    500: '#5475f1',
    950: '#000000',
  },
}
SCSS
$custom: #5475f1;
$custom-light: #949cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5475f1",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 241
  },
  "hsl": {
    "h": 227.389,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.1895,
    "h": 268.9
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#5475F1
secondary
#ECE0B5
accent
#B304E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5475F1

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

Preview Lab → · Contrast checker → · Palette generator →

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