#5D81CA#5D81CA

#5D81CA is a mid, moderate blue. Relative luminance 0.223; OKLCH L 60.9% C 0.119 H 263.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5D81CA
RGBrgb(93, 129, 202)
HSLhsl(220, 51%, 58%)
HSVhsv(220, 54%, 79%)
CMYKcmyk(54%, 36.1%, 0%, 20.8%)
CIE-LABlab(54.33, 8.51, -41.75)
CIE-LCHlch(54.33, 42.61, 281.53°)
OKLaboklab(60.9% -0.0137 -0.118)
OKLCHoklch(60.9% 0.119 263.4)
XYZxyz(23.0215, 22.2902, 58.9550)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81CA #CAA65D
analogous
#5DB8CA #5D81CA #6F5DCA
triadic
#5D81CA #CA5D81 #81CA5D
tetradic
#5D81CA #CA5DB8 #CAA65D #5DCA6F
square
#5D81CA #CA5DB8 #CAA65D #5DCA6F
split-complementary
#5D81CA #CA6F5D #B8CA5D
monochromatic
#2B4782 #3A61B0 #5D81CA #8BA5D9 #B9C9E8

Accessibility & contrast

On white

3.85
#5D81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5D81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81CA#FFFFFF#000000##000000
##5D81CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#21919C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d81ca;
/* rgb */ color: rgb(93, 129, 202);
/* oklch */ color: oklch(60.9% 0.119 263.4);
Tailwind
colors: {
  custom: {
    50: '#92a5da',
    500: '#5d81ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d81ca;
$custom-light: #92a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81ca",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 220.183,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.11878,
    "h": 263.4
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#5D81CA
secondary
#D7C9AC
accent
#AC4EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5D81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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