#5F8DCE#5F8DCE

#5F8DCE is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.8% C 0.111 H 257.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F8DCE
RGBrgb(95, 141, 206)
HSLhsl(215, 53%, 59%)
HSVhsv(215, 54%, 81%)
CMYKcmyk(53.9%, 31.6%, 0%, 19.2%)
CIE-LABlab(57.98, 3.11, -38.27)
CIE-LCHlch(57.98, 38.39, 274.65°)
OKLaboklab(63.83% -0.0246 -0.1077)
OKLCHoklch(63.83% 0.111 257.1)
XYZxyz(25.3809, 25.9369, 62.0494)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DCE #CEA05F
analogous
#5FC5CE #5F8DCE #695FCE
triadic
#5F8DCE #CE5F8D #8DCE5F
tetradic
#5F8DCE #CE5FC5 #CEA05F #5FCE69
square
#5F8DCE #CE5FC5 #CEA05F #5FCE69
split-complementary
#5F8DCE #CE695F #C5CE5F
monochromatic
#2A5189 #386DB8 #5F8DCE #8EAEDC #BDD0EB

Accessibility & contrast

On white

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

On black

6.19
#5F8DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DCE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DCE#FFFFFF#000000##000000
##5F8DCE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#6587CD
Tritanopia (blue-blind)
#1E9BA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f8dce;
/* rgb */ color: rgb(95, 141, 206);
/* oklch */ color: oklch(63.8% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#93aedd',
    500: '#5f8dce',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dce;
$custom-light: #93aedd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dce",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 215.135,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63832,
    "c": 0.11053,
    "h": 257.1
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#5F8DCE
secondary
#DAC8AF
accent
#A04BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F8DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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