#5475F2#5475F2

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

Color values

HEX#5475F2
RGBrgb(84, 117, 242)
HSLhsl(227, 86%, 64%)
HSVhsv(227, 65%, 95%)
CMYKcmyk(65.3%, 51.7%, 0%, 5.1%)
CIE-LABlab(52.97, 27.47, -66.45)
CIE-LCHlch(52.97, 71.90, 292.46°)
OKLaboklab(60.47% -0.0036 -0.1908)
OKLCHoklch(60.47% 0.191 268.9)
XYZxyz(26.0390, 21.0158, 86.6714)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5475F2 #F2D154
analogous
#54C4F2 #5475F2 #8254F2
triadic
#5475F2 #F25475 #75F254
tetradic
#5475F2 #F254C4 #F2D154 #54F282
square
#5475F2 #F254C4 #F2D154 #54F282
split-complementary
#5475F2 #F28254 #C4F254
monochromatic
#0E33BD #1B47EE #5475F2 #8DA3F6 #C6D1FB

Accessibility & contrast

On white

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

On black

5.20
#5475F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5475F2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5475F2#FFFFFF#000000##000000
##5475F21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F6
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5475f2;
/* rgb */ color: rgb(84, 117, 242);
/* oklch */ color: oklch(60.5% 0.191 268.9);
Tailwind
colors: {
  custom: {
    50: '#949cf7',
    500: '#5475f2',
    950: '#000000',
  },
}
SCSS
$custom: #5475f2;
$custom-light: #949cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5475f2",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 227.468,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.19082,
    "h": 268.9
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#5475F2
secondary
#EDE1B5
accent
#B403E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5475F2

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

Preview Lab → · Contrast checker → · Palette generator →

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