#5FA7FC#5FA7FC

#5FA7FC is a light, vivid cyan. Relative luminance 0.371; OKLCH L 71.9% C 0.144 H 253.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5FA7FC
RGBrgb(95, 167, 252)
HSLhsl(212, 96%, 68%)
HSVhsv(212, 62%, 99%)
CMYKcmyk(62.3%, 33.7%, 0%, 1.2%)
CIE-LABlab(67.35, 2.85, -48.96)
CIE-LCHlch(67.35, 49.04, 273.33°)
OKLaboklab(71.86% -0.0403 -0.1386)
OKLCHoklch(71.86% 0.144 253.8)
XYZxyz(36.1024, 37.0952, 97.3341)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7FC #FCB45F
analogous
#5FF6FC #5FA7FC #655FFC
triadic
#5FA7FC #FC5FA7 #A7FC5F
tetradic
#5FA7FC #FC5FF6 #FCB45F #5FFC65
square
#5FA7FC #FC5FF6 #FCB45F #5FFC65
split-complementary
#5FA7FC #FC655F #F6FC5F
monochromatic
#0467DC #2386FB #5FA7FC #9BC8FD #D7E9FE

Accessibility & contrast

On white

2.49
#5FA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#5FA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7FC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7FC#FFFFFF#000000##000000
##5FA7FC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#00BBC6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fa7fc;
/* rgb */ color: rgb(95, 167, 252);
/* oklch */ color: oklch(71.9% 0.144 253.8);
Tailwind
colors: {
  custom: {
    50: '#99c0fe',
    500: '#5fa7fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7fc;
$custom-light: #99c0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7fc",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 212.484,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.14438,
    "h": 253.8
  },
  "luminance": 0.37099
}

Semantic roles & 50–950 ramp

primary
#5FA7FC
secondary
#F3DDC3
accent
#7C00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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