#5FA1EC#5FA1EC

#5FA1EC is a light, vivid cyan. Relative luminance 0.340; OKLCH L 69.7% C 0.130 H 252.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5FA1EC
RGBrgb(95, 161, 236)
HSLhsl(212, 79%, 65%)
HSVhsv(212, 60%, 93%)
CMYKcmyk(59.7%, 31.8%, 0%, 7.5%)
CIE-LABlab(64.94, 1.10, -44.00)
CIE-LCHlch(64.94, 44.02, 271.43°)
OKLaboklab(69.74% -0.0383 -0.1243)
OKLCHoklch(69.74% 0.13 252.9)
XYZxyz(32.5991, 33.9758, 84.1807)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1EC #ECAA5F
analogous
#5FE7EC #5FA1EC #645FEC
triadic
#5FA1EC #EC5FA1 #A1EC5F
tetradic
#5FA1EC #EC5FE7 #ECAA5F #5FEC64
square
#5FA1EC #EC5FE7 #ECAA5F #5FEC64
split-complementary
#5FA1EC #EC645F #E7EC5F
monochromatic
#1663BA #2881E6 #5FA1EC #96C1F2 #CCE1F9

Accessibility & contrast

On white

2.69
#5FA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5FA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1EC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1EC#FFFFFF#000000##000000
##5FA1EC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#00B2BC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa1ec;
/* rgb */ color: rgb(95, 161, 236);
/* oklch */ color: oklch(69.7% 0.130 252.9);
Tailwind
colors: {
  custom: {
    50: '#97bcf2',
    500: '#5fa1ec',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1ec;
$custom-light: #97bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1ec",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 211.915,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.13005,
    "h": 252.9
  },
  "luminance": 0.33979
}

Semantic roles & 50–950 ramp

primary
#5FA1EC
secondary
#EBD5BB
accent
#790ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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