#5FA6FE#5FA6FE

#5FA6FE is a light, vivid cyan. Relative luminance 0.369; OKLCH L 71.8% C 0.148 H 254.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5FA6FE
RGBrgb(95, 166, 254)
HSLhsl(213, 99%, 68%)
HSVhsv(213, 63%, 100%)
CMYKcmyk(62.6%, 34.6%, 0%, 0.4%)
CIE-LABlab(67.17, 4.07, -50.33)
CIE-LCHlch(67.17, 50.49, 274.62°)
OKLaboklab(71.76% -0.0388 -0.1426)
OKLCHoklch(71.76% 0.148 254.8)
XYZxyz(36.2385, 36.8576, 98.9512)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA6FE #FEB75F
analogous
#5FF5FE #5FA6FE #675FFE
triadic
#5FA6FE #FE5FA6 #A6FE5F
tetradic
#5FA6FE #FE5FF5 #FEB75F #5FFE67
square
#5FA6FE #FE5FF5 #FEB75F #5FFE67
split-complementary
#5FA6FE #FE675F #F5FE5F
monochromatic
#0165E1 #2284FE #5FA6FE #9CC8FE #D9EAFF

Accessibility & contrast

On white

2.51
#5FA6FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#5FA6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA6FE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA6FE#FFFFFF#000000##000000
##5FA6FE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#00BAC6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa6fe;
/* rgb */ color: rgb(95, 166, 254);
/* oklch */ color: oklch(71.8% 0.148 254.8);
Tailwind
colors: {
  custom: {
    50: '#9ac0ff',
    500: '#5fa6fe',
    950: '#000000',
  },
}
SCSS
$custom: #5fa6fe;
$custom-light: #9ac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa6fe",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 213.208,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71757,
    "c": 0.14783,
    "h": 254.8
  },
  "luminance": 0.36861
}

Semantic roles & 50–950 ramp

primary
#5FA6FE
secondary
#F4DFC4
accent
#7F00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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