#5FA5FB#5FA5FB

#5FA5FB is a light, vivid cyan. Relative luminance 0.363; OKLCH L 71.4% C 0.145 H 254.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5FA5FB
RGBrgb(95, 165, 251)
HSLhsl(213, 95%, 68%)
HSVhsv(213, 62%, 98%)
CMYKcmyk(62.2%, 34.3%, 0%, 1.6%)
CIE-LABlab(66.75, 3.66, -49.36)
CIE-LCHlch(66.75, 49.49, 274.25°)
OKLaboklab(71.38% -0.0385 -0.1398)
OKLCHoklch(71.38% 0.145 254.6)
XYZxyz(35.5808, 36.3048, 96.3805)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5FB #FBB55F
analogous
#5FF3FB #5FA5FB #675FFB
triadic
#5FA5FB #FB5FA5 #A5FB5F
tetradic
#5FA5FB #FB5FF3 #FBB55F #5FFB67
square
#5FA5FB #FB5FF3 #FBB55F #5FFB67
split-complementary
#5FA5FB #FB675F #F3FB5F
monochromatic
#0565DA #2383FA #5FA5FB #9BC7FC #D6E8FE

Accessibility & contrast

On white

2.54
#5FA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#5FA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5FB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5FB#FFFFFF#000000##000000
##5FA5FB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#00B9C4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5fa5fb;
/* rgb */ color: rgb(95, 165, 251);
/* oklch */ color: oklch(71.4% 0.145 254.6);
Tailwind
colors: {
  custom: {
    50: '#99bffd',
    500: '#5fa5fb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5fb;
$custom-light: #99bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5fb",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 213.077,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.14504,
    "h": 254.6
  },
  "luminance": 0.36308
}

Semantic roles & 50–950 ramp

primary
#5FA5FB
secondary
#F3DDC3
accent
#7F00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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