#5FA5FD#5FA5FD

#5FA5FD is a light, vivid cyan. Relative luminance 0.364; OKLCH L 71.5% C 0.148 H 255.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5FA5FD
RGBrgb(95, 165, 253)
HSLhsl(213, 98%, 68%)
HSVhsv(213, 62%, 99%)
CMYKcmyk(62.5%, 34.8%, 0%, 0.8%)
CIE-LABlab(66.85, 4.32, -50.29)
CIE-LCHlch(66.85, 50.48, 274.90°)
OKLaboklab(71.49% -0.038 -0.1426)
OKLCHoklch(71.49% 0.148 255.1)
XYZxyz(35.8977, 36.4316, 98.0497)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5FD #FDB75F
analogous
#5FF4FD #5FA5FD #685FFD
triadic
#5FA5FD #FD5FA5 #A5FD5F
tetradic
#5FA5FD #FD5FF4 #FDB75F #5FFD68
square
#5FA5FD #FD5FF4 #FDB75F #5FFD68
split-complementary
#5FA5FD #FD685F #F4FD5F
monochromatic
#0364DF #2383FC #5FA5FD #9BC7FE #D8E9FF

Accessibility & contrast

On white

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

On black

8.29
#5FA5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5FD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5FD#FFFFFF#000000##000000
##5FA5FD1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#00B9C5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa5fd;
/* rgb */ color: rgb(95, 165, 253);
/* oklch */ color: oklch(71.5% 0.148 255.1);
Tailwind
colors: {
  custom: {
    50: '#9abffe',
    500: '#5fa5fd',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5fd;
$custom-light: #9abffe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5fd",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 213.418,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.14755,
    "h": 255.1
  },
  "luminance": 0.36435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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