#5FA2FB#5FA2FB

#5FA2FB is a light, vivid cyan. Relative luminance 0.352; OKLCH L 70.7% C 0.148 H 256.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5FA2FB
RGBrgb(95, 162, 251)
HSLhsl(214, 95%, 68%)
HSVhsv(214, 62%, 98%)
CMYKcmyk(62.2%, 35.5%, 0%, 1.6%)
CIE-LABlab(65.93, 5.39, -50.65)
CIE-LCHlch(65.93, 50.94, 276.07°)
OKLaboklab(70.74% -0.0355 -0.1436)
OKLCHoklch(70.74% 0.148 256.1)
XYZxyz(35.0460, 35.2353, 96.2023)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2FB #FBB85F
analogous
#5FF0FB #5FA2FB #6A5FFB
triadic
#5FA2FB #FB5FA2 #A2FB5F
tetradic
#5FA2FB #FB5FF0 #FBB85F #5FFB6A
square
#5FA2FB #FB5FF0 #FBB85F #5FFB6A
split-complementary
#5FA2FB #FB6A5F #F0FB5F
monochromatic
#0561DA #237FFA #5FA2FB #9BC5FC #D6E7FE

Accessibility & contrast

On white

2.61
#5FA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#5FA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2FB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2FB#FFFFFF#000000##000000
##5FA2FB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#00B6C3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa2fb;
/* rgb */ color: rgb(95, 162, 251);
/* oklch */ color: oklch(70.7% 0.148 256.1);
Tailwind
colors: {
  custom: {
    50: '#99bdfd',
    500: '#5fa2fb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2fb;
$custom-light: #99bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2fb",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 214.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70743,
    "c": 0.14798,
    "h": 256.1
  },
  "luminance": 0.35239
}

Semantic roles & 50–950 ramp

primary
#5FA2FB
secondary
#F3DEC3
accent
#8300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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