#5FA7F1#5FA7F1

#5FA7F1 is a light, vivid cyan. Relative luminance 0.364; OKLCH L 71.3% C 0.131 H 250.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5FA7F1
RGBrgb(95, 167, 241)
HSLhsl(210, 84%, 66%)
HSVhsv(210, 61%, 95%)
CMYKcmyk(60.6%, 30.7%, 0%, 5.5%)
CIE-LABlab(66.84, -0.71, -43.77)
CIE-LCHlch(66.84, 43.77, 269.08°)
OKLaboklab(71.3% -0.0432 -0.1235)
OKLCHoklch(71.3% 0.131 250.7)
XYZxyz(34.4094, 36.4180, 88.4181)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7F1 #F1A95F
analogous
#5FF0F1 #5FA7F1 #605FF1
triadic
#5FA7F1 #F15FA7 #A7F15F
tetradic
#5FA7F1 #F15FF0 #F1A95F #5FF160
square
#5FA7F1 #F15FF0 #F1A95F #5FF160
split-complementary
#5FA7F1 #F1605F #F0F15F
monochromatic
#116AC4 #2788EC #5FA7F1 #97C6F6 #D0E5FB

Accessibility & contrast

On white

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

On black

8.28
#5FA7F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7F1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7F1#FFFFFF#000000##000000
##5FA7F11.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF4
Deuteranopia (green-blind)
#749CF0
Tritanopia (blue-blind)
#00B8C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fa7f1;
/* rgb */ color: rgb(95, 167, 241);
/* oklch */ color: oklch(71.3% 0.131 250.7);
Tailwind
colors: {
  custom: {
    50: '#98c0f6',
    500: '#5fa7f1',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7f1;
$custom-light: #98c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7f1",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 241
  },
  "hsl": {
    "h": 210.411,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.13087,
    "h": 250.7
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#5FA7F1
secondary
#EED6BE
accent
#7405E0
background
#F9FBFF
surface
#F2F7FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA7F1

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

Preview Lab → · Contrast checker → · Palette generator →

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