#5FA1EF#5FA1EF

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

Color values

HEX#5FA1EF
RGBrgb(95, 161, 239)
HSLhsl(213, 82%, 65%)
HSVhsv(213, 60%, 94%)
CMYKcmyk(60.3%, 32.6%, 0%, 6.3%)
CIE-LABlab(65.08, 2.06, -45.43)
CIE-LCHlch(65.08, 45.48, 272.60°)
OKLaboklab(69.89% -0.0375 -0.1284)
OKLCHoklch(69.89% 0.134 253.7)
XYZxyz(33.0386, 34.1516, 86.4954)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1EF #EFAD5F
analogous
#5FE9EF #5FA1EF #655FEF
triadic
#5FA1EF #EF5FA1 #A1EF5F
tetradic
#5FA1EF #EF5FE9 #EFAD5F #5FEF65
square
#5FA1EF #EF5FE9 #EFAD5F #5FEF65
split-complementary
#5FA1EF #EF655F #E9EF5F
monochromatic
#1363C0 #2780E9 #5FA1EF #97C2F5 #CEE2FA

Accessibility & contrast

On white

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

On black

7.83
#5FA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1EF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1EF#FFFFFF#000000##000000
##5FA1EF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa1ef;
/* rgb */ color: rgb(95, 161, 239);
/* oklch */ color: oklch(69.9% 0.134 253.7);
Tailwind
colors: {
  custom: {
    50: '#98bcf4',
    500: '#5fa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1ef;
$custom-light: #98bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1ef",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 212.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.13379,
    "h": 253.7
  },
  "luminance": 0.34155
}

Semantic roles & 50–950 ramp

primary
#5FA1EF
secondary
#EDD7BD
accent
#7C07DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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