#5FA5EF#5FA5EF

#5FA5EF is a light, vivid cyan. Relative luminance 0.356; OKLCH L 70.8% C 0.130 H 251.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5FA5EF
RGBrgb(95, 165, 239)
HSLhsl(211, 82%, 65%)
HSVhsv(211, 60%, 94%)
CMYKcmyk(60.3%, 31%, 0%, 6.3%)
CIE-LABlab(66.19, -0.21, -43.69)
CIE-LCHlch(66.19, 43.69, 269.72°)
OKLaboklab(70.76% -0.0417 -0.1233)
OKLCHoklch(70.76% 0.13 251.3)
XYZxyz(33.7488, 35.5720, 86.7322)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5EF #EFA95F
analogous
#5FEDEF #5FA5EF #615FEF
triadic
#5FA5EF #EF5FA5 #A5EF5F
tetradic
#5FA5EF #EF5FED #EFA95F #5FEF61
square
#5FA5EF #EF5FED #EFA95F #5FEF61
split-complementary
#5FA5EF #EF615F #EDEF5F
monochromatic
#1367C0 #2786E9 #5FA5EF #97C4F5 #CEE4FA

Accessibility & contrast

On white

2.59
#5FA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#5FA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5EF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5EF#FFFFFF#000000##000000
##5FA5EF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#00B6BF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fa5ef;
/* rgb */ color: rgb(95, 165, 239);
/* oklch */ color: oklch(70.8% 0.130 251.3);
Tailwind
colors: {
  custom: {
    50: '#98bff4',
    500: '#5fa5ef',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5ef;
$custom-light: #98bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5ef",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 210.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.13018,
    "h": 251.3
  },
  "luminance": 0.35575
}

Semantic roles & 50–950 ramp

primary
#5FA5EF
secondary
#EDD6BD
accent
#7607DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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