#5581CA#5581CA

#5581CA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.122 H 260.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5581CA
RGBrgb(85, 129, 202)
HSLhsl(217, 52%, 56%)
HSVhsv(217, 58%, 79%)
CMYKcmyk(57.9%, 36.1%, 0%, 20.8%)
CIE-LABlab(53.91, 6.81, -42.44)
CIE-LCHlch(53.91, 42.98, 279.12°)
OKLaboklab(60.47% -0.0211 -0.1201)
OKLCHoklch(60.47% 0.122 260.1)
XYZxyz(22.2535, 21.8942, 58.9190)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581CA #CA9E55
analogous
#55BCCA #5581CA #6455CA
triadic
#5581CA #CA5581 #81CA55
tetradic
#5581CA #CA55BC #CA9E55 #55CA64
square
#5581CA #CA55BC #CA9E55 #55CA64
split-complementary
#5581CA #CA6455 #BCCA55
monochromatic
#27487D #3662AC #5581CA #84A4D9 #B2C6E7

Accessibility & contrast

On white

3.90
#5581CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5581CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581CA#FFFFFF#000000##000000
##5581CA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5581ca;
/* rgb */ color: rgb(85, 129, 202);
/* oklch */ color: oklch(60.5% 0.122 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ea5da',
    500: '#5581ca',
    950: '#000000',
  },
}
SCSS
$custom: #5581ca;
$custom-light: #8ea5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5581ca",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 217.436,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.12197,
    "h": 260.1
  },
  "luminance": 0.21896
}

Semantic roles & 50–950 ramp

primary
#5581CA
secondary
#D5C3A5
accent
#A64CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5581CA

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

Preview Lab → · Contrast checker → · Palette generator →

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