#5FA7F4#5FA7F4

#5FA7F4 is a light, vivid cyan. Relative luminance 0.366; OKLCH L 71.5% C 0.135 H 251.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5FA7F4
RGBrgb(95, 167, 244)
HSLhsl(211, 87%, 66%)
HSVhsv(211, 61%, 96%)
CMYKcmyk(61.1%, 31.6%, 0%, 4.3%)
CIE-LABlab(66.97, 0.26, -45.19)
CIE-LCHlch(66.97, 45.19, 270.33°)
OKLaboklab(71.45% -0.0424 -0.1277)
OKLCHoklch(71.45% 0.135 251.6)
XYZxyz(34.8612, 36.5987, 90.7975)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7F4 #F4AC5F
analogous
#5FF1F4 #5FA7F4 #625FF4
triadic
#5FA7F4 #F45FA7 #A7F45F
tetradic
#5FA7F4 #F45FF1 #F4AC5F #5FF462
square
#5FA7F4 #F45FF1 #F4AC5F #5FF462
split-complementary
#5FA7F4 #F4625F #F1F45F
monochromatic
#0E69CB #2688F0 #5FA7F4 #98C6F8 #D2E6FC

Accessibility & contrast

On white

2.52
#5FA7F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#5FA7F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7F4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7F4#FFFFFF#000000##000000
##5FA7F41.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ABF7
Deuteranopia (green-blind)
#729DF2
Tritanopia (blue-blind)
#00B9C3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa7f4;
/* rgb */ color: rgb(95, 167, 244);
/* oklch */ color: oklch(71.5% 0.135 251.6);
Tailwind
colors: {
  custom: {
    50: '#98c0f8',
    500: '#5fa7f4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7f4;
$custom-light: #98c0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7f4",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 244
  },
  "hsl": {
    "h": 211.007,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.13452,
    "h": 251.6
  },
  "luminance": 0.36602
}

Semantic roles & 50–950 ramp

primary
#5FA7F4
secondary
#F0D8BF
accent
#7702E4
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA7F4

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

Preview Lab → · Contrast checker → · Palette generator →

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