#5F86DC#5F86DC

#5F86DC is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.1% C 0.137 H 264.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5F86DC
RGBrgb(95, 134, 220)
HSLhsl(221, 64%, 62%)
HSVhsv(221, 57%, 86%)
CMYKcmyk(56.8%, 39.1%, 0%, 13.7%)
CIE-LABlab(56.73, 11.74, -48.09)
CIE-LCHlch(56.73, 49.51, 283.71°)
OKLaboklab(63.09% -0.0134 -0.1365)
OKLCHoklch(63.09% 0.137 264.4)
XYZxyz(26.1583, 24.6483, 71.0754)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86DC #DCB55F
analogous
#5FC5DC #5F86DC #775FDC
triadic
#5F86DC #DC5F86 #86DC5F
tetradic
#5F86DC #DC5FC5 #DCB55F #5FDC77
square
#5F86DC #DC5FC5 #DCB55F #5FDC77
split-complementary
#5F86DC #DC775F #C5DC5F
monochromatic
#23499E #2E60D0 #5F86DC #91ACE7 #C3D2F2

Accessibility & contrast

On white

3.54
#5F86DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5F86DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86DC#FFFFFF#000000##000000
##5F86DC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f86dc;
/* rgb */ color: rgb(95, 134, 220);
/* oklch */ color: oklch(63.1% 0.137 264.4);
Tailwind
colors: {
  custom: {
    50: '#95a8e7',
    500: '#5f86dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f86dc;
$custom-light: #95a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86dc",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 221.28,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63089,
    "c": 0.13711,
    "h": 264.4
  },
  "luminance": 0.2465
}

Semantic roles & 50–950 ramp

primary
#5F86DC
secondary
#E3D4B4
accent
#941ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F86DC

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

Preview Lab → · Contrast checker → · Palette generator →

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