#5FA1FA#5FA1FA

#5FA1FA is a light, vivid cyan. Relative luminance 0.348; OKLCH L 70.5% C 0.148 H 256.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5FA1FA
RGBrgb(95, 161, 250)
HSLhsl(214, 94%, 68%)
HSVhsv(214, 62%, 98%)
CMYKcmyk(62%, 35.6%, 0%, 2%)
CIE-LABlab(65.61, 5.64, -50.62)
CIE-LCHlch(65.61, 50.93, 276.35°)
OKLaboklab(70.48% -0.0348 -0.1435)
OKLCHoklch(70.48% 0.148 256.4)
XYZxyz(34.7133, 34.8215, 95.3158)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1FA #FAB85F
analogous
#5FEEFA #5FA1FA #6B5FFA
triadic
#5FA1FA #FA5FA1 #A1FA5F
tetradic
#5FA1FA #FA5FEE #FAB85F #5FFA6B
square
#5FA1FA #FA5FEE #FAB85F #5FFA6B
split-complementary
#5FA1FA #FA6B5F #EEFA5F
monochromatic
#0760D8 #247EF8 #5FA1FA #9AC4FC #D6E7FE

Accessibility & contrast

On white

2.64
#5FA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#5FA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1FA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1FA#FFFFFF#000000##000000
##5FA1FA1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#00B5C2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa1fa;
/* rgb */ color: rgb(95, 161, 250);
/* oklch */ color: oklch(70.5% 0.148 256.4);
Tailwind
colors: {
  custom: {
    50: '#99bcfc',
    500: '#5fa1fa',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1fa;
$custom-light: #99bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1fa",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 214.452,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.1477,
    "h": 256.4
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#5FA1FA
secondary
#F2DEC2
accent
#8400E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5FA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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