#5487F5#5487F5

#5487F5 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.173 H 263.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5487F5
RGBrgb(84, 135, 245)
HSLhsl(221, 89%, 65%)
HSVhsv(221, 66%, 96%)
CMYKcmyk(65.7%, 44.9%, 0%, 3.9%)
CIE-LABlab(57.85, 17.50, -60.25)
CIE-LCHlch(57.85, 62.74, 286.20°)
OKLaboklab(64.25% -0.0194 -0.1723)
OKLCHoklch(64.25% 0.173 263.6)
XYZxyz(28.7958, 25.8025, 89.8313)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5487F5 #F5C254
analogous
#54D7F5 #5487F5 #7254F5
triadic
#5487F5 #F55487 #87F554
tetradic
#5487F5 #F554D7 #F5C254 #54F572
square
#5487F5 #F554D7 #F5C254 #54F572
split-complementary
#5487F5 #F57254 #D7F554
monochromatic
#0B46C3 #1A5EF2 #5487F5 #8EB0F8 #C8D8FC

Accessibility & contrast

On white

3.41
#5487F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5487F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5487F5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5487F5#FFFFFF#000000##000000
##5487F51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#3384F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5487f5;
/* rgb */ color: rgb(84, 135, 245);
/* oklch */ color: oklch(64.3% 0.173 263.6);
Tailwind
colors: {
  custom: {
    50: '#94a9f9',
    500: '#5487f5',
    950: '#000000',
  },
}
SCSS
$custom: #5487f5;
$custom-light: #94a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5487f5",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 220.994,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.17341,
    "h": 263.6
  },
  "luminance": 0.25805
}

Semantic roles & 50–950 ramp

primary
#5487F5
secondary
#EEDDB7
accent
#9D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5487F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5487F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva