#5F8ECF#5F8ECF

#5F8ECF is a light, moderate cyan. Relative luminance 0.263; OKLCH L 64.1% C 0.111 H 256.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F8ECF
RGBrgb(95, 142, 207)
HSLhsl(215, 54%, 59%)
HSVhsv(215, 54%, 81%)
CMYKcmyk(54.1%, 31.4%, 0%, 18.8%)
CIE-LABlab(58.30, 2.84, -38.32)
CIE-LCHlch(58.30, 38.42, 274.24°)
OKLaboklab(64.1% -0.0255 -0.1079)
OKLCHoklch(64.1% 0.111 256.7)
XYZxyz(25.6509, 26.2819, 62.7406)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8ECF #CFA05F
analogous
#5FC6CF #5F8ECF #685FCF
triadic
#5F8ECF #CF5F8E #8ECF5F
tetradic
#5F8ECF #CF5FC6 #CFA05F #5FCF68
square
#5F8ECF #CF5FC6 #CFA05F #5FCF68
split-complementary
#5F8ECF #CF685F #C6CF5F
monochromatic
#29528A #386EB9 #5F8ECF #8EAFDD #BDD0EB

Accessibility & contrast

On white

3.36
#5F8ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5F8ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8ECF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8ECF#FFFFFF#000000##000000
##5F8ECF1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#6687CE
Tritanopia (blue-blind)
#1C9DA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f8ecf;
/* rgb */ color: rgb(95, 142, 207);
/* oklch */ color: oklch(64.1% 0.111 256.7);
Tailwind
colors: {
  custom: {
    50: '#94aede',
    500: '#5f8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ecf;
$custom-light: #94aede;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ecf",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 214.821,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.11086,
    "h": 256.7
  },
  "luminance": 0.26284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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