#5FA1FC#5FA1FC

#5FA1FC is a light, vivid cyan. Relative luminance 0.350; OKLCH L 70.6% C 0.150 H 256.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5FA1FC
RGBrgb(95, 161, 252)
HSLhsl(215, 96%, 68%)
HSVhsv(215, 62%, 99%)
CMYKcmyk(62.3%, 36.1%, 0%, 1.2%)
CIE-LABlab(65.71, 6.29, -51.55)
CIE-LCHlch(65.71, 51.93, 276.96°)
OKLaboklab(70.58% -0.0343 -0.1463)
OKLCHoklch(70.58% 0.15 256.8)
XYZxyz(35.0286, 34.9476, 96.9762)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1FC #FCBA5F
analogous
#5FF0FC #5FA1FC #6B5FFC
triadic
#5FA1FC #FC5FA1 #A1FC5F
tetradic
#5FA1FC #FC5FF0 #FCBA5F #5FFC6B
square
#5FA1FC #FC5FF0 #FCBA5F #5FFC6B
split-complementary
#5FA1FC #FC6B5F #F0FC5F
monochromatic
#045FDC #237EFB #5FA1FC #9BC4FD #D7E8FE

Accessibility & contrast

On white

2.63
#5FA1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#5FA1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1FC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1FC#FFFFFF#000000##000000
##5FA1FC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#00B6C3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa1fc;
/* rgb */ color: rgb(95, 161, 252);
/* oklch */ color: oklch(70.6% 0.150 256.8);
Tailwind
colors: {
  custom: {
    50: '#99bcfe',
    500: '#5fa1fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1fc;
$custom-light: #99bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1fc",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 214.777,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70585,
    "c": 0.15024,
    "h": 256.8
  },
  "luminance": 0.34951
}

Semantic roles & 50–950 ramp

primary
#5FA1FC
secondary
#F3DFC3
accent
#8500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5FA1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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