#5FA6F5#5FA6F5

#5FA6F5 is a light, vivid cyan. Relative luminance 0.363; OKLCH L 71.3% C 0.137 H 252.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5FA6F5
RGBrgb(95, 166, 245)
HSLhsl(212, 88%, 67%)
HSVhsv(212, 61%, 96%)
CMYKcmyk(61.2%, 32.2%, 0%, 3.9%)
CIE-LABlab(66.74, 1.15, -46.10)
CIE-LCHlch(66.74, 46.11, 271.43°)
OKLaboklab(71.29% -0.0411 -0.1303)
OKLCHoklch(71.29% 0.137 252.5)
XYZxyz(34.8310, 36.2946, 91.5385)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA6F5 #F5AE5F
analogous
#5FF1F5 #5FA6F5 #635FF5
triadic
#5FA6F5 #F55FA6 #A6F55F
tetradic
#5FA6F5 #F55FF1 #F5AE5F #5FF563
square
#5FA6F5 #F55FF1 #F5AE5F #5FF563
split-complementary
#5FA6F5 #F5635F #F1F55F
monochromatic
#0D68CD #2586F1 #5FA6F5 #99C6F9 #D2E6FC

Accessibility & contrast

On white

2.54
#5FA6F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#5FA6F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA6F5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA6F5#FFFFFF#000000##000000
##5FA6F51.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF8
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#00B8C2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5fa6f5;
/* rgb */ color: rgb(95, 166, 245);
/* oklch */ color: oklch(71.3% 0.137 252.5);
Tailwind
colors: {
  custom: {
    50: '#98c0f9',
    500: '#5fa6f5',
    950: '#000000',
  },
}
SCSS
$custom: #5fa6f5;
$custom-light: #98c0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa6f5",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 245
  },
  "hsl": {
    "h": 211.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.13664,
    "h": 252.5
  },
  "luminance": 0.36298
}

Semantic roles & 50–950 ramp

primary
#5FA6F5
secondary
#F0D9C0
accent
#7901E5
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA6F5

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

Preview Lab → · Contrast checker → · Palette generator →

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