#5F87DD#5F87DD

#5F87DD is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.4% C 0.137 H 264.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5F87DD
RGBrgb(95, 135, 221)
HSLhsl(221, 65%, 62%)
HSVhsv(221, 57%, 87%)
CMYKcmyk(57%, 38.9%, 0%, 13.3%)
CIE-LABlab(57.06, 11.46, -48.14)
CIE-LCHlch(57.06, 49.49, 283.39°)
OKLaboklab(63.36% -0.0142 -0.1366)
OKLCHoklch(63.36% 0.137 264)
XYZxyz(26.4300, 24.9792, 71.8213)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87DD #DDB55F
analogous
#5FC6DD #5F87DD #765FDD
triadic
#5F87DD #DD5F87 #87DD5F
tetradic
#5F87DD #DD5FC6 #DDB55F #5FDD76
square
#5F87DD #DD5FC6 #DDB55F #5FDD76
split-complementary
#5F87DD #DD765F #C6DD5F
monochromatic
#224AA0 #2D61D2 #5F87DD #91ADE8 #C4D3F2

Accessibility & contrast

On white

3.50
#5F87DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5F87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87DD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87DD#FFFFFF#000000##000000
##5F87DD1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#5384DB
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f87dd;
/* rgb */ color: rgb(95, 135, 221);
/* oklch */ color: oklch(63.4% 0.137 264.0);
Tailwind
colors: {
  custom: {
    50: '#95a9e8',
    500: '#5f87dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f87dd;
$custom-light: #95a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87dd",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 220.952,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63356,
    "c": 0.13732,
    "h": 264
  },
  "luminance": 0.24981
}

Semantic roles & 50–950 ramp

primary
#5F87DD
secondary
#E3D4B5
accent
#9419CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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