#5FA1F0#5FA1F0

#5FA1F0 is a light, vivid cyan. Relative luminance 0.342; OKLCH L 69.9% C 0.135 H 254.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F0
RGBrgb(95, 161, 240)
HSLhsl(213, 83%, 66%)
HSVhsv(213, 60%, 94%)
CMYKcmyk(60.4%, 32.9%, 0%, 5.9%)
CIE-LABlab(65.13, 2.39, -45.91)
CIE-LCHlch(65.13, 45.97, 272.98°)
OKLaboklab(69.94% -0.0373 -0.1298)
OKLCHoklch(69.94% 0.135 254)
XYZxyz(33.1867, 34.2109, 87.2756)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F0 #F0AE5F
analogous
#5FE9F0 #5FA1F0 #655FF0
triadic
#5FA1F0 #F05FA1 #A1F05F
tetradic
#5FA1F0 #F05FE9 #F0AE5F #5FF065
square
#5FA1F0 #F05FE9 #F0AE5F #5FF065
split-complementary
#5FA1F0 #F0655F #E9F05F
monochromatic
#1262C2 #2780EB #5FA1F0 #97C2F5 #CFE3FA

Accessibility & contrast

On white

2.68
#5FA1F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#5FA1F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F0#FFFFFF#000000##000000
##5FA1F01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F3
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#00B3BD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa1f0;
/* rgb */ color: rgb(95, 161, 240);
/* oklch */ color: oklch(69.9% 0.135 254.0);
Tailwind
colors: {
  custom: {
    50: '#98bcf5',
    500: '#5fa1f0',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f0;
$custom-light: #98bcf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f0",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 240
  },
  "hsl": {
    "h": 212.69,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.13505,
    "h": 254
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#5FA1F0
secondary
#EED8BD
accent
#7C06DF
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1F0

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

Preview Lab → · Contrast checker → · Palette generator →

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