#5F8DCF#5F8DCF

#5F8DCF is a light, moderate blue. Relative luminance 0.260; OKLCH L 63.9% C 0.112 H 257.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F8DCF
RGBrgb(95, 141, 207)
HSLhsl(215, 54%, 59%)
HSVhsv(215, 54%, 81%)
CMYKcmyk(54.1%, 31.9%, 0%, 18.8%)
CIE-LABlab(58.02, 3.43, -38.76)
CIE-LCHlch(58.02, 38.91, 275.05°)
OKLaboklab(63.88% -0.0243 -0.1092)
OKLCHoklch(63.88% 0.112 257.4)
XYZxyz(25.5028, 25.9856, 62.6912)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DCF #CFA15F
analogous
#5FC5CF #5F8DCF #695FCF
triadic
#5F8DCF #CF5F8D #8DCF5F
tetradic
#5F8DCF #CF5FC5 #CFA15F #5FCF69
square
#5F8DCF #CF5FC5 #CFA15F #5FCF69
split-complementary
#5F8DCF #CF695F #C5CF5F
monochromatic
#29518A #386DB9 #5F8DCF #8EAFDD #BDD0EB

Accessibility & contrast

On white

3.39
#5F8DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F8DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DCF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DCF#FFFFFF#000000##000000
##5F8DCF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D2
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#1C9CA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f8dcf;
/* rgb */ color: rgb(95, 141, 207);
/* oklch */ color: oklch(63.9% 0.112 257.4);
Tailwind
colors: {
  custom: {
    50: '#94aede',
    500: '#5f8dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dcf;
$custom-light: #94aede;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dcf",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 215.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63883,
    "c": 0.11185,
    "h": 257.4
  },
  "luminance": 0.25988
}

Semantic roles & 50–950 ramp

primary
#5F8DCF
secondary
#DBC9AF
accent
#A14BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F8DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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