#5FA2FC#5FA2FC

#5FA2FC is a light, vivid cyan. Relative luminance 0.353; OKLCH L 70.8% C 0.149 H 256.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5FA2FC
RGBrgb(95, 162, 252)
HSLhsl(214, 96%, 68%)
HSVhsv(214, 62%, 99%)
CMYKcmyk(62.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(65.98, 5.71, -51.12)
CIE-LCHlch(65.98, 51.44, 276.38°)
OKLaboklab(70.8% -0.0353 -0.145)
OKLCHoklch(70.8% 0.149 256.3)
XYZxyz(35.2040, 35.2985, 97.0346)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2FC #FCB95F
analogous
#5FF0FC #5FA2FC #6A5FFC
triadic
#5FA2FC #FC5FA2 #A2FC5F
tetradic
#5FA2FC #FC5FF0 #FCB95F #5FFC6A
square
#5FA2FC #FC5FF0 #FCB95F #5FFC6A
split-complementary
#5FA2FC #FC6A5F #F0FC5F
monochromatic
#0460DC #237FFB #5FA2FC #9BC5FD #D7E8FE

Accessibility & contrast

On white

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

On black

8.06
#5FA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2FC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2FC#FFFFFF#000000##000000
##5FA2FC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#00B7C3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa2fc;
/* rgb */ color: rgb(95, 162, 252);
/* oklch */ color: oklch(70.8% 0.149 256.3);
Tailwind
colors: {
  custom: {
    50: '#99bdfe',
    500: '#5fa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2fc;
$custom-light: #99bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2fc",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 214.395,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70797,
    "c": 0.14924,
    "h": 256.3
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#5FA2FC
secondary
#F3DFC3
accent
#8400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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