#5F97EB#5F97EB

#5F97EB is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.5% C 0.139 H 258.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5F97EB
RGBrgb(95, 151, 235)
HSLhsl(216, 78%, 65%)
HSVhsv(216, 60%, 92%)
CMYKcmyk(59.6%, 35.7%, 0%, 7.8%)
CIE-LABlab(62.14, 6.55, -47.88)
CIE-LCHlch(62.14, 48.32, 277.79°)
OKLaboklab(67.53% -0.0281 -0.1357)
OKLCHoklch(67.53% 0.139 258.3)
XYZxyz(30.7760, 30.5615, 82.8583)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97EB #EBB35F
analogous
#5FDDEB #5F97EB #6D5FEB
triadic
#5F97EB #EB5F97 #97EB5F
tetradic
#5F97EB #EB5FDD #EBB35F #5FEB6D
square
#5F97EB #EB5FDD #EBB35F #5FEB6D
split-complementary
#5F97EB #EB6D5F #DDEB5F
monochromatic
#1758B9 #2974E4 #5F97EB #95BAF2 #CCDEF9

Accessibility & contrast

On white

2.95
#5F97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5F97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97EB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97EB#FFFFFF#000000##000000
##5F97EB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f97eb;
/* rgb */ color: rgb(95, 151, 235);
/* oklch */ color: oklch(67.5% 0.139 258.3);
Tailwind
colors: {
  custom: {
    50: '#97b5f2',
    500: '#5f97eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f97eb;
$custom-light: #97b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97eb",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 216,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.13854,
    "h": 258.3
  },
  "luminance": 0.30564
}

Semantic roles & 50–950 ramp

primary
#5F97EB
secondary
#EBD8BB
accent
#870BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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