#5F97E5#5F97E5

#5F97E5 is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.2% C 0.131 H 256.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5F97E5
RGBrgb(95, 151, 229)
HSLhsl(215, 72%, 64%)
HSVhsv(215, 59%, 90%)
CMYKcmyk(58.5%, 34.1%, 0%, 10.2%)
CIE-LABlab(61.84, 4.61, -45.02)
CIE-LCHlch(61.84, 45.26, 275.84°)
OKLaboklab(67.21% -0.0296 -0.1273)
OKLCHoklch(67.21% 0.131 256.9)
XYZxyz(29.9238, 30.2207, 78.3698)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97E5 #E5AD5F
analogous
#5FDAE5 #5F97E5 #6A5FE5
triadic
#5F97E5 #E55F97 #97E55F
tetradic
#5F97E5 #E55FDA #E5AD5F #5FE56A
square
#5F97E5 #E55FDA #E5AD5F #5FE56A
split-complementary
#5F97E5 #E56A5F #DAE55F
monochromatic
#1C59AD #2A75DC #5F97E5 #94B9EE #C8DBF6

Accessibility & contrast

On white

2.98
#5F97E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5F97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97E5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97E5#FFFFFF#000000##000000
##5F97E51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#6590E3
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f97e5;
/* rgb */ color: rgb(95, 151, 229);
/* oklch */ color: oklch(67.2% 0.131 256.9);
Tailwind
colors: {
  custom: {
    50: '#96b5ed',
    500: '#5f97e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f97e5;
$custom-light: #96b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97e5",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 214.925,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67206,
    "c": 0.13072,
    "h": 256.9
  },
  "luminance": 0.30223
}

Semantic roles & 50–950 ramp

primary
#5F97E5
secondary
#E8D4B8
accent
#8311D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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