#5F8DCD#5F8DCD

#5F8DCD is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.8% C 0.109 H 256.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F8DCD
RGBrgb(95, 141, 205)
HSLhsl(215, 52%, 59%)
HSVhsv(215, 54%, 80%)
CMYKcmyk(53.7%, 31.2%, 0%, 19.6%)
CIE-LABlab(57.93, 2.80, -37.78)
CIE-LCHlch(57.93, 37.88, 274.23°)
OKLaboklab(63.78% -0.0249 -0.1063)
OKLCHoklch(63.78% 0.109 256.8)
XYZxyz(25.2598, 25.8885, 61.4116)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DCD #CD9F5F
analogous
#5FC4CD #5F8DCD #685FCD
triadic
#5F8DCD #CD5F8D #8DCD5F
tetradic
#5F8DCD #CD5FC4 #CD9F5F #5FCD68
square
#5F8DCD #CD5FC4 #CD9F5F #5FCD68
split-complementary
#5F8DCD #CD685F #C4CD5F
monochromatic
#2A5187 #396DB6 #5F8DCD #8EAEDC #BCCFEA

Accessibility & contrast

On white

3.40
#5F8DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5F8DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DCD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DCD#FFFFFF#000000##000000
##5F8DCD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#6686CC
Tritanopia (blue-blind)
#209BA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f8dcd;
/* rgb */ color: rgb(95, 141, 205);
/* oklch */ color: oklch(63.8% 0.109 256.8);
Tailwind
colors: {
  custom: {
    50: '#93aedc',
    500: '#5f8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dcd;
$custom-light: #93aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dcd",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 214.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63781,
    "c": 0.10921,
    "h": 256.8
  },
  "luminance": 0.2589
}

Semantic roles & 50–950 ramp

primary
#5F8DCD
secondary
#DAC7AE
accent
#A04CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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