#5FA8EC#5FA8EC

#5FA8EC is a light, vivid cyan. Relative luminance 0.365; OKLCH L 71.3% C 0.124 H 248.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5FA8EC
RGBrgb(95, 168, 236)
HSLhsl(209, 79%, 65%)
HSVhsv(209, 60%, 93%)
CMYKcmyk(59.7%, 28.8%, 0%, 7.5%)
CIE-LABlab(66.89, -2.86, -40.95)
CIE-LCHlch(66.89, 41.05, 266.00°)
OKLaboklab(71.27% -0.0457 -0.1153)
OKLCHoklch(71.27% 0.124 248.4)
XYZxyz(33.8567, 36.4912, 84.5999)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA8EC #ECA35F
analogous
#5FECE9 #5FA8EC #5F62EC
triadic
#5FA8EC #EC5FA8 #A8EC5F
tetradic
#5FA8EC #E95FEC #ECA35F #62EC5F
square
#5FA8EC #E95FEC #ECA35F #62EC5F
split-complementary
#5FA8EC #EC5F62 #ECE95F
monochromatic
#166BBA #288AE6 #5FA8EC #96C6F2 #CCE3F9

Accessibility & contrast

On white

2.53
#5FA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#5FA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA8EC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA8EC#FFFFFF#000000##000000
##5FA8EC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEF
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#00B8C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa8ec;
/* rgb */ color: rgb(95, 168, 236);
/* oklch */ color: oklch(71.3% 0.124 248.4);
Tailwind
colors: {
  custom: {
    50: '#97c1f2',
    500: '#5fa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #5fa8ec;
$custom-light: #97c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa8ec",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 208.936,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.12405,
    "h": 248.4
  },
  "luminance": 0.36494
}

Semantic roles & 50–950 ramp

primary
#5FA8EC
secondary
#EBD3BB
accent
#6F0ADB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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