#5FA1F2#5FA1F2

#5FA1F2 is a light, vivid cyan. Relative luminance 0.343; OKLCH L 70.0% C 0.138 H 254.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F2
RGBrgb(95, 161, 242)
HSLhsl(213, 85%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(60.7%, 33.5%, 0%, 5.1%)
CIE-LABlab(65.22, 3.03, -46.85)
CIE-LCHlch(65.22, 46.95, 273.70°)
OKLaboklab(70.05% -0.0367 -0.1326)
OKLCHoklch(70.05% 0.138 254.5)
XYZxyz(33.4854, 34.3304, 88.8490)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F2 #F2B05F
analogous
#5FEBF2 #5FA1F2 #665FF2
triadic
#5FA1F2 #F25FA1 #A1F25F
tetradic
#5FA1F2 #F25FEB #F2B05F #5FF266
square
#5FA1F2 #F25FEB #F2B05F #5FF266
split-complementary
#5FA1F2 #F2665F #EBF25F
monochromatic
#1062C6 #2680ED #5FA1F2 #98C2F7 #D0E4FB

Accessibility & contrast

On white

2.67
#5FA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#5FA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F2#FFFFFF#000000##000000
##5FA1F21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa1f2;
/* rgb */ color: rgb(95, 161, 242);
/* oklch */ color: oklch(70.0% 0.138 254.5);
Tailwind
colors: {
  custom: {
    50: '#98bcf6',
    500: '#5fa1f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f2;
$custom-light: #98bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f2",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 213.061,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.13757,
    "h": 254.5
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#5FA1F2
secondary
#EFD9BE
accent
#7E04E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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