#5FA1FB#5FA1FB

#5FA1FB is a light, vivid cyan. Relative luminance 0.349; OKLCH L 70.5% C 0.149 H 256.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5FA1FB
RGBrgb(95, 161, 251)
HSLhsl(215, 95%, 68%)
HSVhsv(215, 62%, 98%)
CMYKcmyk(62.2%, 35.9%, 0%, 1.6%)
CIE-LABlab(65.66, 5.96, -51.08)
CIE-LCHlch(65.66, 51.43, 276.66°)
OKLaboklab(70.53% -0.0345 -0.1449)
OKLCHoklch(70.53% 0.149 256.6)
XYZxyz(34.8705, 34.8844, 96.1438)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1FB #FBB95F
analogous
#5FEFFB #5FA1FB #6B5FFB
triadic
#5FA1FB #FB5FA1 #A1FB5F
tetradic
#5FA1FB #FB5FEF #FBB95F #5FFB6B
square
#5FA1FB #FB5FEF #FBB95F #5FFB6B
split-complementary
#5FA1FB #FB6B5F #EFFB5F
monochromatic
#055FDA #237EFA #5FA1FB #9BC4FC #D6E7FE

Accessibility & contrast

On white

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

On black

7.98
#5FA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1FB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1FB#FFFFFF#000000##000000
##5FA1FB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#00B6C2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa1fb;
/* rgb */ color: rgb(95, 161, 251);
/* oklch */ color: oklch(70.5% 0.149 256.6);
Tailwind
colors: {
  custom: {
    50: '#99bcfd',
    500: '#5fa1fb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1fb;
$custom-light: #99bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1fb",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 214.615,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.14897,
    "h": 256.6
  },
  "luminance": 0.34888
}

Semantic roles & 50–950 ramp

primary
#5FA1FB
secondary
#F3DFC3
accent
#8400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5FA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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