#5781BE#5781BE

#5781BE is a mid, moderate blue. Relative luminance 0.214; OKLCH L 59.9% C 0.105 H 257.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5781BE
RGBrgb(87, 129, 190)
HSLhsl(216, 44%, 54%)
HSVhsv(216, 54%, 75%)
CMYKcmyk(54.2%, 32.1%, 0%, 25.5%)
CIE-LABlab(53.43, 3.35, -36.36)
CIE-LCHlch(53.43, 36.51, 275.26°)
OKLaboklab(59.93% -0.0224 -0.1024)
OKLCHoklch(59.93% 0.105 257.7)
XYZxyz(21.0718, 21.4428, 51.7337)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781BE #BE9457
analogous
#57B5BE #5781BE #6157BE
triadic
#5781BE #BE5781 #81BE57
tetradic
#5781BE #BE57B5 #BE9457 #57BE61
square
#5781BE #BE57B5 #BE9457 #57BE61
split-complementary
#5781BE #BE6157 #B5BE57
monochromatic
#2B476F #3C639C #5781BE #83A2CF #AFC3E0

Accessibility & contrast

On white

3.97
#5781BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5781BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781BE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781BE#FFFFFF#000000##000000
##5781BE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C1
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#1B8F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5781be;
/* rgb */ color: rgb(87, 129, 190);
/* oklch */ color: oklch(59.9% 0.105 257.7);
Tailwind
colors: {
  custom: {
    50: '#8da5d2',
    500: '#5781be',
    950: '#000000',
  },
}
SCSS
$custom: #5781be;
$custom-light: #8da5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5781be",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 215.534,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.10482,
    "h": 257.7
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#5781BE
secondary
#CEBCA3
accent
#A054D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5781BE

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

Preview Lab → · Contrast checker → · Palette generator →

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