#5D87DB#5D87DB

#5D87DB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.1% C 0.135 H 263.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5D87DB
RGBrgb(93, 135, 219)
HSLhsl(220, 64%, 61%)
HSVhsv(220, 58%, 86%)
CMYKcmyk(57.5%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.85, 10.41, -47.36)
CIE-LCHlch(56.85, 48.49, 282.40°)
OKLaboklab(63.13% -0.0165 -0.1343)
OKLCHoklch(63.13% 0.135 263)
XYZxyz(25.9600, 24.7674, 70.4167)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87DB #DBB15D
analogous
#5DC6DB #5D87DB #725DDB
triadic
#5D87DB #DB5D87 #87DB5D
tetradic
#5D87DB #DB5DC6 #DBB15D #5DDB72
square
#5D87DB #DB5DC6 #DBB15D #5DDB72
split-complementary
#5D87DB #DB725D #C6DB5D
monochromatic
#224B9B #2E63CD #5D87DB #8FACE6 #C1D1F1

Accessibility & contrast

On white

3.53
#5D87DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5D87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87DB#FFFFFF#000000##000000
##5D87DB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d87db;
/* rgb */ color: rgb(93, 135, 219);
/* oklch */ color: oklch(63.1% 0.135 263.0);
Tailwind
colors: {
  custom: {
    50: '#94a9e6',
    500: '#5d87db',
    950: '#000000',
  },
}
SCSS
$custom: #5d87db;
$custom-light: #94a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87db",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 220,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63134,
    "c": 0.13533,
    "h": 263
  },
  "luminance": 0.2477
}

Semantic roles & 50–950 ramp

primary
#5D87DB
secondary
#E2D2B2
accent
#901ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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