#5F97DD#5F97DD

#5F97DD is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.8% C 0.120 H 254.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5F97DD
RGBrgb(95, 151, 221)
HSLhsl(213, 65%, 62%)
HSVhsv(213, 57%, 87%)
CMYKcmyk(57%, 31.7%, 0%, 13.3%)
CIE-LABlab(61.47, 2.05, -41.18)
CIE-LCHlch(61.47, 41.23, 272.84°)
OKLaboklab(66.79% -0.0317 -0.1161)
OKLCHoklch(66.79% 0.12 254.7)
XYZxyz(28.8325, 29.7841, 72.6221)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97DD #DDA55F
analogous
#5FD6DD #5F97DD #665FDD
triadic
#5F97DD #DD5F97 #97DD5F
tetradic
#5F97DD #DD5FD6 #DDA55F #5FDD66
square
#5F97DD #DD5FD6 #DDA55F #5FDD66
split-complementary
#5F97DD #DD665F #D6DD5F
monochromatic
#225AA0 #2D76D2 #5F97DD #91B8E8 #C4D9F2

Accessibility & contrast

On white

3.02
#5F97DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5F97DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97DD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97DD#FFFFFF#000000##000000
##5F97DD1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BE0
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5f97dd;
/* rgb */ color: rgb(95, 151, 221);
/* oklch */ color: oklch(66.8% 0.120 254.7);
Tailwind
colors: {
  custom: {
    50: '#95b5e8',
    500: '#5f97dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f97dd;
$custom-light: #95b5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97dd",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 213.333,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.12039,
    "h": 254.7
  },
  "luminance": 0.29787
}

Semantic roles & 50–950 ramp

primary
#5F97DD
secondary
#E3CEB5
accent
#7D19CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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