#5FA5F8#5FA5F8

#5FA5F8 is a light, vivid cyan. Relative luminance 0.361; OKLCH L 71.2% C 0.141 H 253.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5FA5F8
RGBrgb(95, 165, 248)
HSLhsl(213, 92%, 67%)
HSVhsv(213, 62%, 97%)
CMYKcmyk(61.7%, 33.5%, 0%, 2.7%)
CIE-LABlab(66.61, 2.69, -47.95)
CIE-LCHlch(66.61, 48.02, 273.21°)
OKLaboklab(71.23% -0.0393 -0.1357)
OKLCHoklch(71.23% 0.141 253.9)
XYZxyz(35.1116, 36.1172, 93.9097)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5F8 #F8B25F
analogous
#5FF2F8 #5FA5F8 #665FF8
triadic
#5FA5F8 #F85FA5 #A5F85F
tetradic
#5FA5F8 #F85FF2 #F8B25F #5FF866
square
#5FA5F8 #F85FF2 #F8B25F #5FF866
split-complementary
#5FA5F8 #F8665F #F2F85F
monochromatic
#0966D3 #2484F5 #5FA5F8 #9AC6FB #D4E7FD

Accessibility & contrast

On white

2.55
#5FA5F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#5FA5F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5F8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5F8#FFFFFF#000000##000000
##5FA5F81.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFB
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#00B8C3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5fa5f8;
/* rgb */ color: rgb(95, 165, 248);
/* oklch */ color: oklch(71.2% 0.141 253.9);
Tailwind
colors: {
  custom: {
    50: '#99bffb',
    500: '#5fa5f8',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5f8;
$custom-light: #99bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5f8",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 248
  },
  "hsl": {
    "h": 212.549,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.14129,
    "h": 253.9
  },
  "luminance": 0.3612
}

Semantic roles & 50–950 ramp

primary
#5FA5F8
secondary
#F2DBC1
accent
#7C00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA5F8

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

Preview Lab → · Contrast checker → · Palette generator →

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