#5F97DF#5F97DF

#5F97DF is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.9% C 0.123 H 255.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5F97DF
RGBrgb(95, 151, 223)
HSLhsl(214, 67%, 62%)
HSVhsv(214, 57%, 87%)
CMYKcmyk(57.4%, 32.3%, 0%, 12.5%)
CIE-LABlab(61.56, 2.68, -42.14)
CIE-LCHlch(61.56, 42.23, 273.64°)
OKLaboklab(66.89% -0.0312 -0.1189)
OKLCHoklch(66.89% 0.123 255.3)
XYZxyz(29.1005, 29.8913, 74.0338)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97DF #DFA75F
analogous
#5FD7DF #5F97DF #675FDF
triadic
#5F97DF #DF5F97 #97DF5F
tetradic
#5F97DF #DF5FD7 #DFA75F #5FDF67
square
#5F97DF #DF5FD7 #DFA75F #5FDF67
split-complementary
#5F97DF #DF675F #D7DF5F
monochromatic
#215AA3 #2C76D5 #5F97DF #92B8E9 #C5D9F3

Accessibility & contrast

On white

3.01
#5F97DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5F97DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97DF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97DF#FFFFFF#000000##000000
##5F97DF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#698FDE
Tritanopia (blue-blind)
#00A7B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f97df;
/* rgb */ color: rgb(95, 151, 223);
/* oklch */ color: oklch(66.9% 0.123 255.3);
Tailwind
colors: {
  custom: {
    50: '#96b5e9',
    500: '#5f97df',
    950: '#000000',
  },
}
SCSS
$custom: #5f97df;
$custom-light: #96b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97df",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 213.75,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66891,
    "c": 0.12296,
    "h": 255.3
  },
  "luminance": 0.29894
}

Semantic roles & 50–950 ramp

primary
#5F97DF
secondary
#E4D0B6
accent
#7E17CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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