#5581F6#5581F6

#5581F6 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.181 H 265.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5581F6
RGBrgb(85, 129, 246)
HSLhsl(224, 90%, 65%)
HSVhsv(224, 65%, 96%)
CMYKcmyk(65.4%, 47.6%, 0%, 3.5%)
CIE-LABlab(56.37, 21.64, -63.18)
CIE-LCHlch(56.37, 66.78, 288.91°)
OKLaboklab(63.15% -0.013 -0.181)
OKLCHoklch(63.15% 0.181 265.9)
XYZxyz(28.2253, 24.2829, 90.3705)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581F6 #F6CA55
analogous
#55D2F6 #5581F6 #7955F6
triadic
#5581F6 #F65581 #81F655
tetradic
#5581F6 #F655D2 #F6CA55 #55F679
square
#5581F6 #F655D2 #F6CA55 #55F679
split-complementary
#5581F6 #F67955 #D2F655
monochromatic
#0A3EC6 #1B56F3 #5581F6 #8FACF9 #C9D7FC

Accessibility & contrast

On white

3.59
#5581F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5581F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581F6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581F6#FFFFFF#000000##000000
##5581F61.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#1D80F4
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5581f6;
/* rgb */ color: rgb(85, 129, 246);
/* oklch */ color: oklch(63.2% 0.181 265.9);
Tailwind
colors: {
  custom: {
    50: '#94a5fa',
    500: '#5581f6',
    950: '#000000',
  },
}
SCSS
$custom: #5581f6;
$custom-light: #94a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5581f6",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 223.602,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63153,
    "c": 0.18145,
    "h": 265.9
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#5581F6
secondary
#EFE0B8
accent
#A700E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5581F6

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

Preview Lab → · Contrast checker → · Palette generator →

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