#5FA7F2#5FA7F2

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

Color values

HEX#5FA7F2
RGBrgb(95, 167, 242)
HSLhsl(211, 85%, 66%)
HSVhsv(211, 61%, 95%)
CMYKcmyk(60.7%, 31%, 0%, 5.1%)
CIE-LABlab(66.88, -0.38, -44.24)
CIE-LCHlch(66.88, 44.24, 269.50°)
OKLaboklab(71.35% -0.0429 -0.1249)
OKLCHoklch(71.35% 0.132 251)
XYZxyz(34.5592, 36.4779, 89.2069)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7F2 #F2AA5F
analogous
#5FF1F2 #5FA7F2 #605FF2
triadic
#5FA7F2 #F25FA7 #A7F25F
tetradic
#5FA7F2 #F25FF1 #F2AA5F #5FF260
square
#5FA7F2 #F25FF1 #F2AA5F #5FF260
split-complementary
#5FA7F2 #F2605F #F1F25F
monochromatic
#1069C6 #2688ED #5FA7F2 #98C6F7 #D0E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA7F2#FFFFFF#000000##000000
##5FA7F21.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)
#87ABF5
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#00B8C2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa7f2;
/* rgb */ color: rgb(95, 167, 242);
/* oklch */ color: oklch(71.3% 0.132 251.0);
Tailwind
colors: {
  custom: {
    50: '#98c0f6',
    500: '#5fa7f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7f2;
$custom-light: #98c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7f2",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 210.612,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.13208,
    "h": 251
  },
  "luminance": 0.36481
}

Semantic roles & 50–950 ramp

primary
#5FA7F2
secondary
#EFD7BE
accent
#7504E1
background
#FAFBFF
surface
#F3F7FE
border
#CDD0D6
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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