#5FA5EC#5FA5EC

#5FA5EC is a light, vivid cyan. Relative luminance 0.354; OKLCH L 70.6% C 0.127 H 250.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5FA5EC
RGBrgb(95, 165, 236)
HSLhsl(210, 79%, 65%)
HSVhsv(210, 60%, 93%)
CMYKcmyk(59.7%, 30.1%, 0%, 7.5%)
CIE-LABlab(66.06, -1.17, -42.26)
CIE-LCHlch(66.06, 42.27, 268.41°)
OKLaboklab(70.61% -0.0425 -0.1192)
OKLCHoklch(70.61% 0.127 250.4)
XYZxyz(33.3093, 35.3962, 84.4174)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5EC #ECA65F
analogous
#5FEBEC #5FA5EC #605FEC
triadic
#5FA5EC #EC5FA5 #A5EC5F
tetradic
#5FA5EC #EC5FEB #ECA65F #5FEC60
square
#5FA5EC #EC5FEB #ECA65F #5FEC60
split-complementary
#5FA5EC #EC605F #EBEC5F
monochromatic
#1668BA #2886E6 #5FA5EC #96C4F2 #CCE3F9

Accessibility & contrast

On white

2.60
#5FA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#5FA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5EC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5EC#FFFFFF#000000##000000
##5FA5EC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#00B6BE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fa5ec;
/* rgb */ color: rgb(95, 165, 236);
/* oklch */ color: oklch(70.6% 0.127 250.4);
Tailwind
colors: {
  custom: {
    50: '#97bff2',
    500: '#5fa5ec',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5ec;
$custom-light: #97bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5ec",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 210.213,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.12653,
    "h": 250.4
  },
  "luminance": 0.35399
}

Semantic roles & 50–950 ramp

primary
#5FA5EC
secondary
#EBD4BB
accent
#730ADB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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