#5C81DA#5C81DA

#5C81DA is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.8% C 0.141 H 265.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5C81DA
RGBrgb(92, 129, 218)
HSLhsl(222, 63%, 61%)
HSVhsv(222, 58%, 85%)
CMYKcmyk(57.8%, 40.8%, 0%, 14.5%)
CIE-LABlab(55.11, 13.49, -49.56)
CIE-LCHlch(55.11, 51.36, 285.23°)
OKLaboklab(61.76% -0.0112 -0.1408)
OKLCHoklch(61.76% 0.141 265.5)
XYZxyz(24.9145, 23.0358, 69.4495)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81DA #DAB55C
analogous
#5CC0DA #5C81DA #765CDA
triadic
#5C81DA #DA5C81 #81DA5C
tetradic
#5C81DA #DA5CC0 #DAB55C #5CDA76
square
#5C81DA #DA5CC0 #DAB55C #5CDA76
split-complementary
#5C81DA #DA765C #C0DA5C
monochromatic
#234599 #2E5CCB #5C81DA #8EA8E5 #C0CEF1

Accessibility & contrast

On white

3.74
#5C81DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5C81DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81DA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81DA#FFFFFF#000000##000000
##5C81DA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADD
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c81da;
/* rgb */ color: rgb(92, 129, 218);
/* oklch */ color: oklch(61.8% 0.141 265.5);
Tailwind
colors: {
  custom: {
    50: '#94a5e6',
    500: '#5c81da',
    950: '#000000',
  },
}
SCSS
$custom: #5c81da;
$custom-light: #94a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81da",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 222.381,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6176,
    "c": 0.14129,
    "h": 265.5
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#5C81DA
secondary
#E1D3B1
accent
#971BCB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C81DA

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

Preview Lab → · Contrast checker → · Palette generator →

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