#5FA5F4#5FA5F4

#5FA5F4 is a light, vivid cyan. Relative luminance 0.359; OKLCH L 71.0% C 0.136 H 252.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5FA5F4
RGBrgb(95, 165, 244)
HSLhsl(212, 87%, 66%)
HSVhsv(212, 61%, 96%)
CMYKcmyk(61.1%, 32.4%, 0%, 4.3%)
CIE-LABlab(66.42, 1.39, -46.06)
CIE-LCHlch(66.42, 46.08, 271.73°)
OKLaboklab(71.02% -0.0403 -0.1302)
OKLCHoklch(71.02% 0.136 252.8)
XYZxyz(34.4977, 35.8716, 90.6763)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5F4 #F4AE5F
analogous
#5FF0F4 #5FA5F4 #645FF4
triadic
#5FA5F4 #F45FA5 #A5F45F
tetradic
#5FA5F4 #F45FF0 #F4AE5F #5FF464
square
#5FA5F4 #F45FF0 #F4AE5F #5FF464
split-complementary
#5FA5F4 #F4645F #F0F45F
monochromatic
#0E67CB #2685F0 #5FA5F4 #98C5F8 #D2E5FC

Accessibility & contrast

On white

2.57
#5FA5F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#5FA5F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5F4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5F4#FFFFFF#000000##000000
##5FA5F41.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F7
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#00B7C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fa5f4;
/* rgb */ color: rgb(95, 165, 244);
/* oklch */ color: oklch(71.0% 0.136 252.8);
Tailwind
colors: {
  custom: {
    50: '#98bff8',
    500: '#5fa5f4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5f4;
$custom-light: #98bff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5f4",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 244
  },
  "hsl": {
    "h": 211.812,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.13633,
    "h": 252.8
  },
  "luminance": 0.35875
}

Semantic roles & 50–950 ramp

primary
#5FA5F4
secondary
#F0D9BF
accent
#7A02E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA5F4

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

Preview Lab → · Contrast checker → · Palette generator →

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