#5FA6FC#5FA6FC

#5FA6FC is a light, vivid cyan. Relative luminance 0.367; OKLCH L 71.7% C 0.145 H 254.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5FA6FC
RGBrgb(95, 166, 252)
HSLhsl(213, 96%, 68%)
HSVhsv(213, 62%, 99%)
CMYKcmyk(62.3%, 34.1%, 0%, 1.2%)
CIE-LABlab(67.07, 3.42, -49.39)
CIE-LCHlch(67.07, 49.51, 273.96°)
OKLaboklab(71.65% -0.0393 -0.1399)
OKLCHoklch(71.65% 0.145 254.3)
XYZxyz(35.9199, 36.7302, 97.2733)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA6FC #FCB55F
analogous
#5FF5FC #5FA6FC #665FFC
triadic
#5FA6FC #FC5FA6 #A6FC5F
tetradic
#5FA6FC #FC5FF5 #FCB55F #5FFC66
square
#5FA6FC #FC5FF5 #FCB55F #5FFC66
split-complementary
#5FA6FC #FC665F #F5FC5F
monochromatic
#0466DC #2385FB #5FA6FC #9BC7FD #D7E9FE

Accessibility & contrast

On white

2.52
#5FA6FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#5FA6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA6FC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA6FC#FFFFFF#000000##000000
##5FA6FC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#00BAC5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa6fc;
/* rgb */ color: rgb(95, 166, 252);
/* oklch */ color: oklch(71.7% 0.145 254.3);
Tailwind
colors: {
  custom: {
    50: '#99c0fe',
    500: '#5fa6fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa6fc;
$custom-light: #99c0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa6fc",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 212.866,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71651,
    "c": 0.14533,
    "h": 254.3
  },
  "luminance": 0.36734
}

Semantic roles & 50–950 ramp

primary
#5FA6FC
secondary
#F3DEC3
accent
#7E00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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