#5FA1F7#5FA1F7

#5FA1F7 is a light, vivid cyan. Relative luminance 0.346; OKLCH L 70.3% C 0.144 H 255.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F7
RGBrgb(95, 161, 247)
HSLhsl(214, 90%, 67%)
HSVhsv(214, 62%, 97%)
CMYKcmyk(61.5%, 34.8%, 0%, 3.1%)
CIE-LABlab(65.46, 4.66, -49.21)
CIE-LCHlch(65.46, 49.43, 275.41°)
OKLaboklab(70.31% -0.0355 -0.1394)
OKLCHoklch(70.31% 0.144 255.7)
XYZxyz(34.2467, 34.6348, 92.8581)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F7 #F7B55F
analogous
#5FEDF7 #5FA1F7 #695FF7
triadic
#5FA1F7 #F75FA1 #A1F75F
tetradic
#5FA1F7 #F75FED #F7B55F #5FF769
square
#5FA1F7 #F75FED #F7B55F #5FF769
split-complementary
#5FA1F7 #F7695F #EDF75F
monochromatic
#0A61D1 #257FF4 #5FA1F7 #99C3FA #D4E5FD

Accessibility & contrast

On white

2.65
#5FA1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#5FA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F7#FFFFFF#000000##000000
##5FA1F71.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#00B5C0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa1f7;
/* rgb */ color: rgb(95, 161, 247);
/* oklch */ color: oklch(70.3% 0.144 255.7);
Tailwind
colors: {
  custom: {
    50: '#99bcfa',
    500: '#5fa1f7',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f7;
$custom-light: #99bcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f7",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 213.947,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70314,
    "c": 0.14389,
    "h": 255.7
  },
  "luminance": 0.34638
}

Semantic roles & 50–950 ramp

primary
#5FA1F7
secondary
#F1DCC1
accent
#8200E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5FA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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