#5FA7F5#5FA7F5

#5FA7F5 is a light, vivid cyan. Relative luminance 0.367; OKLCH L 71.5% C 0.136 H 251.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5FA7F5
RGBrgb(95, 167, 245)
HSLhsl(211, 88%, 67%)
HSVhsv(211, 61%, 96%)
CMYKcmyk(61.2%, 31.8%, 0%, 3.9%)
CIE-LABlab(67.02, 0.58, -45.66)
CIE-LCHlch(67.02, 45.67, 270.73°)
OKLaboklab(71.5% -0.0421 -0.129)
OKLCHoklch(71.5% 0.136 251.9)
XYZxyz(35.0135, 36.6596, 91.5993)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7F5 #F5AD5F
analogous
#5FF2F5 #5FA7F5 #625FF5
triadic
#5FA7F5 #F55FA7 #A7F55F
tetradic
#5FA7F5 #F55FF2 #F5AD5F #5FF562
square
#5FA7F5 #F55FF2 #F5AD5F #5FF562
split-complementary
#5FA7F5 #F5625F #F2F55F
monochromatic
#0D69CD #2587F1 #5FA7F5 #99C7F9 #D2E6FC

Accessibility & contrast

On white

2.52
#5FA7F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#5FA7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7F5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7F5#FFFFFF#000000##000000
##5FA7F51.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ABF8
Deuteranopia (green-blind)
#719DF3
Tritanopia (blue-blind)
#00B9C3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa7f5;
/* rgb */ color: rgb(95, 167, 245);
/* oklch */ color: oklch(71.5% 0.136 251.9);
Tailwind
colors: {
  custom: {
    50: '#98c0f9',
    500: '#5fa7f5',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7f5;
$custom-light: #98c0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7f5",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 245
  },
  "hsl": {
    "h": 211.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71502,
    "c": 0.13575,
    "h": 251.9
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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