#5FA0EC#5FA0EC

#5FA0EC is a light, vivid cyan. Relative luminance 0.336; OKLCH L 69.5% C 0.131 H 253.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5FA0EC
RGBrgb(95, 160, 236)
HSLhsl(212, 79%, 65%)
HSVhsv(212, 60%, 93%)
CMYKcmyk(59.7%, 32.2%, 0%, 7.5%)
CIE-LABlab(64.67, 1.67, -44.44)
CIE-LCHlch(64.67, 44.47, 272.15°)
OKLaboklab(69.52% -0.0373 -0.1255)
OKLCHoklch(69.52% 0.131 253.5)
XYZxyz(32.4250, 33.6277, 84.1226)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0EC #ECAB5F
analogous
#5FE7EC #5FA0EC #645FEC
triadic
#5FA0EC #EC5FA0 #A0EC5F
tetradic
#5FA0EC #EC5FE7 #ECAB5F #5FEC64
square
#5FA0EC #EC5FE7 #ECAB5F #5FEC64
split-complementary
#5FA0EC #EC645F #E7EC5F
monochromatic
#1662BA #2880E6 #5FA0EC #96C0F2 #CCE1F9

Accessibility & contrast

On white

2.72
#5FA0EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#5FA0EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0EC#FFFFFF#000000##000000
##5FA0EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#6D97EA
Tritanopia (blue-blind)
#00B1BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa0ec;
/* rgb */ color: rgb(95, 160, 236);
/* oklch */ color: oklch(69.5% 0.131 253.5);
Tailwind
colors: {
  custom: {
    50: '#97bbf2',
    500: '#5fa0ec',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0ec;
$custom-light: #97bbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0ec",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 236
  },
  "hsl": {
    "h": 212.34,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.13097,
    "h": 253.5
  },
  "luminance": 0.33631
}

Semantic roles & 50–950 ramp

primary
#5FA0EC
secondary
#EBD5BB
accent
#7B0ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5FA0EC

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

Preview Lab → · Contrast checker → · Palette generator →

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