#5FA1E7#5FA1E7

#5FA1E7 is a light, vivid cyan. Relative luminance 0.337; OKLCH L 69.5% C 0.124 H 251.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5FA1E7
RGBrgb(95, 161, 231)
HSLhsl(211, 74%, 64%)
HSVhsv(211, 59%, 91%)
CMYKcmyk(58.9%, 30.3%, 0%, 9.4%)
CIE-LABlab(64.72, -0.50, -41.61)
CIE-LCHlch(64.72, 41.62, 269.31°)
OKLaboklab(69.48% -0.0397 -0.1173)
OKLCHoklch(69.48% 0.124 251.3)
XYZxyz(31.8828, 33.6893, 80.4083)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1E7 #E7A55F
analogous
#5FE5E7 #5FA1E7 #615FE7
triadic
#5FA1E7 #E75FA1 #A1E75F
tetradic
#5FA1E7 #E75FE5 #E7A55F #5FE761
square
#5FA1E7 #E75FE5 #E7A55F #5FE761
split-complementary
#5FA1E7 #E7615F #E5E75F
monochromatic
#1B64B1 #2A82DF #5FA1E7 #94C0EF #C9E0F7

Accessibility & contrast

On white

2.71
#5FA1E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#5FA1E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1E7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1E7#FFFFFF#000000##000000
##5FA1E71.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A4EA
Deuteranopia (green-blind)
#7197E6
Tritanopia (blue-blind)
#00B1BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa1e7;
/* rgb */ color: rgb(95, 161, 231);
/* oklch */ color: oklch(69.5% 0.124 251.3);
Tailwind
colors: {
  custom: {
    50: '#97bcef',
    500: '#5fa1e7',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1e7;
$custom-light: #97bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1e7",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 231
  },
  "hsl": {
    "h": 210.882,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69483,
    "c": 0.12386,
    "h": 251.3
  },
  "luminance": 0.33692
}

Semantic roles & 50–950 ramp

primary
#5FA1E7
secondary
#E9D2B9
accent
#760FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA1E7

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

Preview Lab → · Contrast checker → · Palette generator →

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