#5F97DB#5F97DB

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

Color values

HEX#5F97DB
RGBrgb(95, 151, 219)
HSLhsl(213, 63%, 62%)
HSVhsv(213, 57%, 86%)
CMYKcmyk(56.6%, 31.1%, 0%, 14.1%)
CIE-LABlab(61.38, 1.41, -40.21)
CIE-LCHlch(61.38, 40.24, 272.01°)
OKLaboklab(66.69% -0.0323 -0.1133)
OKLCHoklch(66.69% 0.118 254.1)
XYZxyz(28.5676, 29.6782, 71.2271)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97DB #DBA35F
analogous
#5FD5DB #5F97DB #655FDB
triadic
#5F97DB #DB5F97 #97DB5F
tetradic
#5F97DB #DB5FD5 #DBA35F #5FDB65
square
#5F97DB #DB5FD5 #DBA35F #5FDB65
split-complementary
#5F97DB #DB655F #D5DB5F
monochromatic
#235A9C #2E77CE #5F97DB #91B7E6 #C3D8F1

Accessibility & contrast

On white

3.03
#5F97DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5F97DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97DB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97DB#FFFFFF#000000##000000
##5F97DB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5f97db;
/* rgb */ color: rgb(95, 151, 219);
/* oklch */ color: oklch(66.7% 0.118 254.1);
Tailwind
colors: {
  custom: {
    50: '#95b5e6',
    500: '#5f97db',
    950: '#000000',
  },
}
SCSS
$custom: #5f97db;
$custom-light: #95b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97db",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 212.903,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.11782,
    "h": 254.1
  },
  "luminance": 0.29681
}

Semantic roles & 50–950 ramp

primary
#5F97DB
secondary
#E2CDB4
accent
#7B1ACB
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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