#5F9DEC#5F9DEC

#5F9DEC is a light, vivid cyan. Relative luminance 0.326; OKLCH L 68.9% C 0.134 H 255.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5F9DEC
RGBrgb(95, 157, 236)
HSLhsl(214, 79%, 65%)
HSVhsv(214, 60%, 93%)
CMYKcmyk(59.7%, 33.5%, 0%, 7.5%)
CIE-LABlab(63.84, 3.39, -45.75)
CIE-LCHlch(63.84, 45.87, 274.24°)
OKLaboklab(68.87% -0.0341 -0.1294)
OKLCHoklch(68.87% 0.134 255.2)
XYZxyz(31.9112, 32.6001, 83.9514)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DEC #ECAE5F
analogous
#5FE4EC #5F9DEC #685FEC
triadic
#5F9DEC #EC5F9D #9DEC5F
tetradic
#5F9DEC #EC5FE4 #ECAE5F #5FEC68
square
#5F9DEC #EC5FE4 #ECAE5F #5FEC68
split-complementary
#5F9DEC #EC685F #E4EC5F
monochromatic
#165EBA #287BE6 #5F9DEC #96BFF2 #CCE0F9

Accessibility & contrast

On white

2.79
#5F9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#5F9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9DEC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9DEC#FFFFFF#000000##000000
##5F9DEC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#6995EA
Tritanopia (blue-blind)
#00AFBA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9dec;
/* rgb */ color: rgb(95, 157, 236);
/* oklch */ color: oklch(68.9% 0.134 255.2);
Tailwind
colors: {
  custom: {
    50: '#97b9f2',
    500: '#5f9dec',
    950: '#000000',
  },
}
SCSS
$custom: #5f9dec;
$custom-light: #97b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9dec",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 213.617,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68871,
    "c": 0.13381,
    "h": 255.2
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#5F9DEC
secondary
#EBD6BB
accent
#7F0ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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