#5C81BD#5C81BD

#5C81BD is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.2% C 0.101 H 259.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5C81BD
RGBrgb(92, 129, 189)
HSLhsl(217, 42%, 55%)
HSVhsv(217, 51%, 74%)
CMYKcmyk(51.3%, 31.7%, 0%, 25.9%)
CIE-LABlab(53.65, 4.17, -35.42)
CIE-LCHlch(53.65, 35.66, 276.72°)
OKLaboklab(60.15% -0.018 -0.0996)
OKLCHoklch(60.15% 0.101 259.7)
XYZxyz(21.4461, 21.6484, 51.1827)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81BD #BD985C
analogous
#5CB2BD #5C81BD #675CBD
triadic
#5C81BD #BD5C81 #81BD5C
tetradic
#5C81BD #BD5CB2 #BD985C #5CBD67
square
#5C81BD #BD5CB2 #BD985C #5CBD67
split-complementary
#5C81BD #BD675C #B2BD5C
monochromatic
#2E4771 #3F639C #5C81BD #88A3CF #B3C4E0

Accessibility & contrast

On white

3.94
#5C81BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5C81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81BD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81BD#FFFFFF#000000##000000
##5C81BD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#2D8E96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c81bd;
/* rgb */ color: rgb(92, 129, 189);
/* oklch */ color: oklch(60.2% 0.101 259.7);
Tailwind
colors: {
  custom: {
    50: '#90a5d1',
    500: '#5c81bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c81bd;
$custom-light: #90a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81bd",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 217.113,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.10122,
    "h": 259.7
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#5C81BD
secondary
#CFBFA6
accent
#A356D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5C81BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5C81BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva