#5FA7EC#5FA7EC

#5FA7EC is a light, vivid cyan. Relative luminance 0.361; OKLCH L 71.0% C 0.125 H 249.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5FA7EC
RGBrgb(95, 167, 236)
HSLhsl(209, 79%, 65%)
HSVhsv(209, 60%, 93%)
CMYKcmyk(59.7%, 29.2%, 0%, 7.5%)
CIE-LABlab(66.61, -2.30, -41.38)
CIE-LCHlch(66.61, 41.45, 266.82°)
OKLaboklab(71.05% -0.0446 -0.1166)
OKLCHoklch(71.05% 0.125 249.1)
XYZxyz(33.6728, 36.1233, 84.5386)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7EC #ECA45F
analogous
#5FECEB #5FA7EC #5F60EC
triadic
#5FA7EC #EC5FA7 #A7EC5F
tetradic
#5FA7EC #EB5FEC #ECA45F #60EC5F
square
#5FA7EC #EB5FEC #ECA45F #60EC5F
split-complementary
#5FA7EC #EC5F60 #ECEB5F
monochromatic
#166ABA #2889E6 #5FA7EC #96C5F2 #CCE3F9

Accessibility & contrast

On white

2.55
#5FA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#5FA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7EC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7EC#FFFFFF#000000##000000
##5FA7EC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#00B7BF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5fa7ec;
/* rgb */ color: rgb(95, 167, 236);
/* oklch */ color: oklch(71.0% 0.125 249.1);
Tailwind
colors: {
  custom: {
    50: '#97c0f2',
    500: '#5fa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7ec;
$custom-light: #97c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7ec",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 209.362,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.12486,
    "h": 249.1
  },
  "luminance": 0.36126
}

Semantic roles & 50–950 ramp

primary
#5FA7EC
secondary
#EBD3BB
accent
#710ADB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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