#5581F8#5581F8

#5581F8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.184 H 266.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5581F8
RGBrgb(85, 129, 248)
HSLhsl(224, 92%, 65%)
HSVhsv(224, 66%, 97%)
CMYKcmyk(65.7%, 48%, 0%, 2.7%)
CIE-LABlab(56.49, 22.33, -64.09)
CIE-LCHlch(56.49, 67.87, 289.21°)
OKLaboklab(63.29% -0.0127 -0.1837)
OKLCHoklch(63.29% 0.184 266)
XYZxyz(28.5340, 24.4064, 91.9959)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581F8 #F8CC55
analogous
#55D2F8 #5581F8 #7B55F8
triadic
#5581F8 #F85581 #81F855
tetradic
#5581F8 #F855D2 #F8CC55 #55F87B
square
#5581F8 #F855D2 #F8CC55 #55F87B
split-complementary
#5581F8 #F87B55 #D2F855
monochromatic
#083DCA #1A55F6 #5581F8 #90ADFA #CBD8FD

Accessibility & contrast

On white

3.57
#5581F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5581F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581F8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581F8#FFFFFF#000000##000000
##5581F81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#1780F6
Tritanopia (blue-blind)
#009DB1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5581f8;
/* rgb */ color: rgb(85, 129, 248);
/* oklch */ color: oklch(63.3% 0.184 266.0);
Tailwind
colors: {
  custom: {
    50: '#95a5fb',
    500: '#5581f8',
    950: '#000000',
  },
}
SCSS
$custom: #5581f8;
$custom-light: #95a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5581f8",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 223.804,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.18411,
    "h": 266
  },
  "luminance": 0.24409
}

Semantic roles & 50–950 ramp

primary
#5581F8
secondary
#F0E1B9
accent
#A800E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5581F8

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

Preview Lab → · Contrast checker → · Palette generator →

#5581F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva