#5D81BC#5D81BC

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

Color values

HEX#5D81BC
RGBrgb(93, 129, 188)
HSLhsl(217, 41%, 55%)
HSVhsv(217, 51%, 74%)
CMYKcmyk(50.5%, 31.4%, 0%, 26.3%)
CIE-LABlab(53.66, 4.10, -34.83)
CIE-LCHlch(53.66, 35.07, 276.71°)
OKLaboklab(60.16% -0.0173 -0.0979)
OKLCHoklch(60.16% 0.099 259.9)
XYZxyz(21.4385, 21.6570, 50.6177)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81BC #BC985D
analogous
#5DB1BC #5D81BC #685DBC
triadic
#5D81BC #BC5D81 #81BC5D
tetradic
#5D81BC #BC5DB1 #BC985D #5DBC68
square
#5D81BC #BC5DB1 #BC985D #5DBC68
split-complementary
#5D81BC #BC685D #B1BC5D
monochromatic
#2E4770 #40639B #5D81BC #88A3CE #B4C4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D81BC#FFFFFF#000000##000000
##5D81BC1.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)
#6A85BF
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#318E96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d81bc;
/* rgb */ color: rgb(93, 129, 188);
/* oklch */ color: oklch(60.2% 0.099 259.9);
Tailwind
colors: {
  custom: {
    50: '#90a5d0',
    500: '#5d81bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d81bc;
$custom-light: #90a5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81bc",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 217.263,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.0994,
    "h": 259.9
  },
  "luminance": 0.21659
}

Semantic roles & 50–950 ramp

primary
#5D81BC
secondary
#CEBFA6
accent
#A356D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5D81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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