#5FA7FB#5FA7FB

#5FA7FB is a light, vivid cyan. Relative luminance 0.370; OKLCH L 71.8% C 0.143 H 253.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5FA7FB
RGBrgb(95, 167, 251)
HSLhsl(212, 95%, 68%)
HSVhsv(212, 62%, 98%)
CMYKcmyk(62.2%, 33.5%, 0%, 1.6%)
CIE-LABlab(67.30, 2.52, -48.49)
CIE-LCHlch(67.30, 48.56, 272.98°)
OKLaboklab(71.81% -0.0405 -0.1373)
OKLCHoklch(71.81% 0.143 253.5)
XYZxyz(35.9443, 37.0319, 96.5017)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7FB #FBB35F
analogous
#5FF5FB #5FA7FB #655FFB
triadic
#5FA7FB #FB5FA7 #A7FB5F
tetradic
#5FA7FB #FB5FF5 #FBB35F #5FFB65
square
#5FA7FB #FB5FF5 #FBB35F #5FFB65
split-complementary
#5FA7FB #FB655F #F5FB5F
monochromatic
#0568DA #2386FA #5FA7FB #9BC8FC #D6E9FE

Accessibility & contrast

On white

2.50
#5FA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#5FA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7FB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7FB#FFFFFF#000000##000000
##5FA7FB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#00BAC5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fa7fb;
/* rgb */ color: rgb(95, 167, 251);
/* oklch */ color: oklch(71.8% 0.143 253.5);
Tailwind
colors: {
  custom: {
    50: '#99c0fd',
    500: '#5fa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7fb;
$custom-light: #99c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7fb",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 212.308,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.14314,
    "h": 253.5
  },
  "luminance": 0.37035
}

Semantic roles & 50–950 ramp

primary
#5FA7FB
secondary
#F3DDC3
accent
#7C00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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