#5FA7FE#5FA7FE

#5FA7FE is a light, vivid cyan. Relative luminance 0.372; OKLCH L 72.0% C 0.147 H 254.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5FA7FE
RGBrgb(95, 167, 254)
HSLhsl(213, 99%, 68%)
HSVhsv(213, 63%, 100%)
CMYKcmyk(62.6%, 34.3%, 0%, 0.4%)
CIE-LABlab(67.44, 3.50, -49.90)
CIE-LCHlch(67.44, 50.02, 274.01°)
OKLaboklab(71.97% -0.0398 -0.1414)
OKLCHoklch(71.97% 0.147 254.3)
XYZxyz(36.4210, 37.2226, 99.0120)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7FE #FEB65F
analogous
#5FF7FE #5FA7FE #665FFE
triadic
#5FA7FE #FE5FA7 #A7FE5F
tetradic
#5FA7FE #FE5FF7 #FEB65F #5FFE66
square
#5FA7FE #FE5FF7 #FEB65F #5FFE66
split-complementary
#5FA7FE #FE665F #F7FE5F
monochromatic
#0167E1 #2286FE #5FA7FE #9CC8FE #D9EAFF

Accessibility & contrast

On white

2.49
#5FA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#5FA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7FE
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7FE#FFFFFF#000000##000000
##5FA7FE1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#6C9DFC
Tritanopia (blue-blind)
#00BBC7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fa7fe;
/* rgb */ color: rgb(95, 167, 254);
/* oklch */ color: oklch(72.0% 0.147 254.3);
Tailwind
colors: {
  custom: {
    50: '#9ac0ff',
    500: '#5fa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7fe;
$custom-light: #9ac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7fe",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 212.83,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.14687,
    "h": 254.3
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#5FA7FE
secondary
#F4DFC4
accent
#7E00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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