#5FA5FF#5FA5FF

#5FA5FF is a light, vivid cyan. Relative luminance 0.366; OKLCH L 71.6% C 0.150 H 255.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5FA5FF
RGBrgb(95, 165, 255)
HSLhsl(214, 100%, 69%)
HSVhsv(214, 63%, 100%)
CMYKcmyk(62.7%, 35.3%, 0%, 0%)
CIE-LABlab(66.95, 4.97, -51.23)
CIE-LCHlch(66.95, 51.47, 275.54°)
OKLaboklab(71.6% -0.0375 -0.1453)
OKLCHoklch(71.6% 0.15 255.5)
XYZxyz(36.2179, 36.5597, 99.7364)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5FF #FFB95F
analogous
#5FF5FF #5FA5FF #695FFF
triadic
#5FA5FF #FF5FA5 #A5FF5F
tetradic
#5FA5FF #FF5FF5 #FFB95F #5FFF69
square
#5FA5FF #FF5FF5 #FFB95F #5FFF69
split-complementary
#5FA5FF #FF695F #F5FF5F
monochromatic
#0064E4 #2283FF #5FA5FF #9CC7FF #D9EAFF

Accessibility & contrast

On white

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

On black

8.31
#5FA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5FF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5FF#FFFFFF#000000##000000
##5FA5FF1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#689CFD
Tritanopia (blue-blind)
#00BAC6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa5ff;
/* rgb */ color: rgb(95, 165, 255);
/* oklch */ color: oklch(71.6% 0.150 255.5);
Tailwind
colors: {
  custom: {
    50: '#9abfff',
    500: '#5fa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5ff;
$custom-light: #9abfff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5ff",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 213.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71598,
    "c": 0.15006,
    "h": 255.5
  },
  "luminance": 0.36563
}

Semantic roles & 50–950 ramp

primary
#5FA5FF
secondary
#F5E0C5
accent
#8100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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