#5781BB#5781BB

#5781BB is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.8% C 0.101 H 256.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5781BB
RGBrgb(87, 129, 187)
HSLhsl(215, 42%, 54%)
HSVhsv(215, 53%, 73%)
CMYKcmyk(53.5%, 31%, 0%, 26.7%)
CIE-LABlab(53.29, 2.39, -34.86)
CIE-LCHlch(53.29, 34.94, 273.92°)
OKLaboklab(59.77% -0.0232 -0.0981)
OKLCHoklch(59.77% 0.101 256.7)
XYZxyz(20.7473, 21.3130, 50.0246)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781BB #BB9157
analogous
#57B3BB #5781BB #5F57BB
triadic
#5781BB #BB5781 #81BB57
tetradic
#5781BB #BB57B3 #BB9157 #57BB5F
square
#5781BB #BB57B3 #BB9157 #57BB5F
split-complementary
#5781BB #BB5F57 #B3BB57
monochromatic
#2C476C #3D6397 #5781BB #83A2CD #AEC2DE

Accessibility & contrast

On white

3.99
#5781BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5781BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781BB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781BB#FFFFFF#000000##000000
##5781BB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BD
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#1F8E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5781bb;
/* rgb */ color: rgb(87, 129, 187);
/* oklch */ color: oklch(59.8% 0.101 256.7);
Tailwind
colors: {
  custom: {
    50: '#8da5cf',
    500: '#5781bb',
    950: '#000000',
  },
}
SCSS
$custom: #5781bb;
$custom-light: #8da5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5781bb",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 214.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.10078,
    "h": 256.7
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#5781BB
secondary
#CCBAA2
accent
#9E56D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5781BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5781BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva