#5C81DD#5C81DD

#5C81DD is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.9% C 0.145 H 265.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5C81DD
RGBrgb(92, 129, 221)
HSLhsl(223, 65%, 61%)
HSVhsv(223, 58%, 87%)
CMYKcmyk(58.4%, 41.6%, 0%, 13.3%)
CIE-LABlab(55.27, 14.47, -50.98)
CIE-LCHlch(55.27, 53.00, 285.85°)
OKLaboklab(61.94% -0.0106 -0.145)
OKLCHoklch(61.94% 0.145 265.8)
XYZxyz(25.3106, 23.1942, 71.5357)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81DD #DDB85C
analogous
#5CC1DD #5C81DD #785CDD
triadic
#5C81DD #DD5C81 #81DD5C
tetradic
#5C81DD #DD5CC1 #DDB85C #5CDD78
square
#5C81DD #DD5CC1 #DDB85C #5CDD78
split-complementary
#5C81DD #DD785C #C1DD5C
monochromatic
#21459E #2B5BD0 #5C81DD #8FA8E8 #C1CFF2

Accessibility & contrast

On white

3.72
#5C81DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5C81DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81DD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81DD#FFFFFF#000000##000000
##5C81DD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c81dd;
/* rgb */ color: rgb(92, 129, 221);
/* oklch */ color: oklch(61.9% 0.145 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a5e8',
    500: '#5c81dd',
    950: '#000000',
  },
}
SCSS
$custom: #5c81dd;
$custom-light: #94a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81dd",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 222.791,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.14542,
    "h": 265.8
  },
  "luminance": 0.23196
}

Semantic roles & 50–950 ramp

primary
#5C81DD
secondary
#E3D5B2
accent
#9918CD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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