#5F8DED#5F8DED

#5F8DED is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.5% C 0.152 H 263.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5F8DED
RGBrgb(95, 141, 237)
HSLhsl(221, 80%, 65%)
HSVhsv(221, 60%, 93%)
CMYKcmyk(59.9%, 40.5%, 0%, 7.1%)
CIE-LABlab(59.52, 13.11, -53.13)
CIE-LCHlch(59.52, 54.72, 283.86°)
OKLaboklab(65.54% -0.0173 -0.1511)
OKLCHoklch(65.54% 0.152 263.5)
XYZxyz(29.5250, 27.5945, 83.8747)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DED #EDBF5F
analogous
#5FD4ED #5F8DED #785FED
triadic
#5F8DED #ED5F8D #8DED5F
tetradic
#5F8DED #ED5FD4 #EDBF5F #5FED78
square
#5F8DED #ED5FD4 #EDBF5F #5FED78
split-complementary
#5F8DED #ED785F #D4ED5F
monochromatic
#154BBC #2866E7 #5F8DED #96B4F3 #CDDBF9

Accessibility & contrast

On white

3.22
#5F8DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5F8DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DED
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DED#FFFFFF#000000##000000
##5F8DED1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#4F89EB
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8ded;
/* rgb */ color: rgb(95, 141, 237);
/* oklch */ color: oklch(65.5% 0.152 263.5);
Tailwind
colors: {
  custom: {
    50: '#98adf3',
    500: '#5f8ded',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ded;
$custom-light: #98adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ded",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 220.563,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65535,
    "c": 0.15212,
    "h": 263.5
  },
  "luminance": 0.27597
}

Semantic roles & 50–950 ramp

primary
#5F8DED
secondary
#ECDCBC
accent
#9809DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8DED

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

Preview Lab → · Contrast checker → · Palette generator →

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