#5FA6F2#5FA6F2

#5FA6F2 is a light, vivid cyan. Relative luminance 0.361; OKLCH L 71.1% C 0.133 H 251.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5FA6F2
RGBrgb(95, 166, 242)
HSLhsl(211, 85%, 66%)
HSVhsv(211, 61%, 95%)
CMYKcmyk(60.7%, 31.4%, 0%, 5.1%)
CIE-LABlab(66.61, 0.18, -44.68)
CIE-LCHlch(66.61, 44.68, 270.23°)
OKLaboklab(71.13% -0.0419 -0.1262)
OKLCHoklch(71.13% 0.133 251.6)
XYZxyz(34.3767, 36.1129, 89.1460)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA6F2 #F2AB5F
analogous
#5FF0F2 #5FA6F2 #615FF2
triadic
#5FA6F2 #F25FA6 #A6F25F
tetradic
#5FA6F2 #F25FF0 #F2AB5F #5FF261
square
#5FA6F2 #F25FF0 #F2AB5F #5FF261
split-complementary
#5FA6F2 #F2615F #F0F25F
monochromatic
#1068C6 #2687ED #5FA6F2 #98C5F7 #D0E5FB

Accessibility & contrast

On white

2.55
#5FA6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#5FA6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA6F2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA6F2#FFFFFF#000000##000000
##5FA6F21.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#729CF0
Tritanopia (blue-blind)
#00B8C1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5fa6f2;
/* rgb */ color: rgb(95, 166, 242);
/* oklch */ color: oklch(71.1% 0.133 251.6);
Tailwind
colors: {
  custom: {
    50: '#98c0f6',
    500: '#5fa6f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa6f2;
$custom-light: #98c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa6f2",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 211.02,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.13297,
    "h": 251.6
  },
  "luminance": 0.36116
}

Semantic roles & 50–950 ramp

primary
#5FA6F2
secondary
#EFD7BE
accent
#7704E1
background
#FAFBFF
surface
#F3F7FE
border
#CDD0D6
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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