#5FA8FC#5FA8FC

#5FA8FC is a light, vivid cyan. Relative luminance 0.375; OKLCH L 72.1% C 0.143 H 253.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5FA8FC
RGBrgb(95, 168, 252)
HSLhsl(212, 96%, 68%)
HSVhsv(212, 62%, 99%)
CMYKcmyk(62.3%, 33.3%, 0%, 1.2%)
CIE-LABlab(67.62, 2.28, -48.53)
CIE-LCHlch(67.62, 48.58, 272.69°)
OKLaboklab(72.08% -0.0413 -0.1374)
OKLCHoklch(72.08% 0.143 253.3)
XYZxyz(36.2863, 37.4630, 97.3954)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA8FC #FCB35F
analogous
#5FF6FC #5FA8FC #645FFC
triadic
#5FA8FC #FC5FA8 #A8FC5F
tetradic
#5FA8FC #FC5FF6 #FCB35F #5FFC64
square
#5FA8FC #FC5FF6 #FCB35F #5FFC64
split-complementary
#5FA8FC #FC645F #F6FC5F
monochromatic
#0469DC #2387FB #5FA8FC #9BC9FD #D7E9FE

Accessibility & contrast

On white

2.47
#5FA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#5FA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA8FC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA8FC#FFFFFF#000000##000000
##5FA8FC1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#00BBC6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fa8fc;
/* rgb */ color: rgb(95, 168, 252);
/* oklch */ color: oklch(72.1% 0.143 253.3);
Tailwind
colors: {
  custom: {
    50: '#99c1fe',
    500: '#5fa8fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa8fc;
$custom-light: #99c1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa8fc",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 212.102,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7208,
    "c": 0.14345,
    "h": 253.3
  },
  "luminance": 0.37466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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