#5F97DC#5F97DC

#5F97DC is a light, moderate cyan. Relative luminance 0.297; OKLCH L 66.7% C 0.119 H 254.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5F97DC
RGBrgb(95, 151, 220)
HSLhsl(213, 64%, 62%)
HSVhsv(213, 57%, 86%)
CMYKcmyk(56.8%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.42, 1.73, -40.69)
CIE-LCHlch(61.42, 40.73, 272.43°)
OKLaboklab(66.74% -0.032 -0.1147)
OKLCHoklch(66.74% 0.119 254.4)
XYZxyz(28.6996, 29.7310, 71.9225)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97DC #DCA45F
analogous
#5FD6DC #5F97DC #665FDC
triadic
#5F97DC #DC5F97 #97DC5F
tetradic
#5F97DC #DC5FD6 #DCA45F #5FDC66
square
#5F97DC #DC5FD6 #DCA45F #5FDC66
split-complementary
#5F97DC #DC665F #D6DC5F
monochromatic
#235A9E #2E76D0 #5F97DC #91B8E7 #C3D8F2

Accessibility & contrast

On white

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

On black

6.95
#5F97DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97DC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97DC#FFFFFF#000000##000000
##5F97DC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f97dc;
/* rgb */ color: rgb(95, 151, 220);
/* oklch */ color: oklch(66.7% 0.119 254.4);
Tailwind
colors: {
  custom: {
    50: '#95b5e7',
    500: '#5f97dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f97dc;
$custom-light: #95b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97dc",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 213.12,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.1191,
    "h": 254.4
  },
  "luminance": 0.29733
}

Semantic roles & 50–950 ramp

primary
#5F97DC
secondary
#E3CEB4
accent
#7C1ACC
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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