#5C81CE#5C81CE

#5C81CE is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.125 H 263.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5C81CE
RGBrgb(92, 129, 206)
HSLhsl(221, 54%, 58%)
HSVhsv(221, 55%, 81%)
CMYKcmyk(55.3%, 37.4%, 0%, 19.2%)
CIE-LABlab(54.48, 9.58, -43.78)
CIE-LCHlch(54.48, 44.82, 282.34°)
OKLaboklab(61.07% -0.0137 -0.124)
OKLCHoklch(61.07% 0.125 263.7)
XYZxyz(23.4007, 22.4302, 61.4769)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81CE #CEA95C
analogous
#5CBACE #5C81CE #705CCE
triadic
#5C81CE #CE5C81 #81CE5C
tetradic
#5C81CE #CE5CBA #CEA95C #5CCE70
square
#5C81CE #CE5CBA #CEA95C #5CCE70
split-complementary
#5C81CE #CE705C #BACE5C
monochromatic
#294787 #3760B6 #5C81CE #8BA5DC #BACAEA

Accessibility & contrast

On white

3.83
#5C81CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5C81CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81CE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81CE#FFFFFF#000000##000000
##5C81CE1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D1
Deuteranopia (green-blind)
#537ECC
Tritanopia (blue-blind)
#14929E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c81ce;
/* rgb */ color: rgb(92, 129, 206);
/* oklch */ color: oklch(61.1% 0.125 263.7);
Tailwind
colors: {
  custom: {
    50: '#92a5dd',
    500: '#5c81ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c81ce;
$custom-light: #92a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81ce",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 220.526,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.12472,
    "h": 263.7
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#5C81CE
secondary
#DACBAC
accent
#AE4BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5C81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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