#5FA5FE#5FA5FE

#5FA5FE is a light, vivid cyan. Relative luminance 0.365; OKLCH L 71.5% C 0.149 H 255.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5FA5FE
RGBrgb(95, 165, 254)
HSLhsl(214, 99%, 68%)
HSVhsv(214, 63%, 100%)
CMYKcmyk(62.6%, 35%, 0%, 0.4%)
CIE-LABlab(66.90, 4.64, -50.76)
CIE-LCHlch(66.90, 50.97, 275.23°)
OKLaboklab(71.54% -0.0378 -0.1439)
OKLCHoklch(71.54% 0.149 255.3)
XYZxyz(36.0574, 36.4955, 98.8908)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5FE #FEB85F
analogous
#5FF4FE #5FA5FE #685FFE
triadic
#5FA5FE #FE5FA5 #A5FE5F
tetradic
#5FA5FE #FE5FF4 #FEB85F #5FFE68
square
#5FA5FE #FE5FF4 #FEB85F #5FFE68
split-complementary
#5FA5FE #FE685F #F4FE5F
monochromatic
#0164E1 #2283FE #5FA5FE #9CC7FE #D9E9FF

Accessibility & contrast

On white

2.53
#5FA5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#5FA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5FE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5FE#FFFFFF#000000##000000
##5FA5FE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#699CFC
Tritanopia (blue-blind)
#00B9C6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa5fe;
/* rgb */ color: rgb(95, 165, 254);
/* oklch */ color: oklch(71.5% 0.149 255.3);
Tailwind
colors: {
  custom: {
    50: '#9abfff',
    500: '#5fa5fe',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5fe;
$custom-light: #9abfff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5fe",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 213.585,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.14881,
    "h": 255.3
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#5FA5FE
secondary
#F4DFC4
accent
#8000E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5FA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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