#5D97EB#5D97EB

#5D97EB is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.4% C 0.139 H 257.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5D97EB
RGBrgb(93, 151, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 60%, 92%)
CMYKcmyk(60.4%, 35.7%, 0%, 7.8%)
CIE-LABlab(62.05, 6.18, -48.03)
CIE-LCHlch(62.05, 48.42, 277.33°)
OKLaboklab(67.43% -0.0298 -0.1361)
OKLCHoklch(67.43% 0.139 257.7)
XYZxyz(30.5709, 30.4558, 82.8487)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97EB #EBB15D
analogous
#5DDEEB #5D97EB #6A5DEB
triadic
#5D97EB #EB5D97 #97EB5D
tetradic
#5D97EB #EB5DDE #EBB15D #5DEB6A
square
#5D97EB #EB5DDE #EBB15D #5DEB6A
split-complementary
#5D97EB #EB6A5D #DEEB5D
monochromatic
#1758B7 #2774E4 #5D97EB #93BAF2 #CADDF8

Accessibility & contrast

On white

2.96
#5D97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5D97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97EB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97EB#FFFFFF#000000##000000
##5D97EB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d97eb;
/* rgb */ color: rgb(93, 151, 235);
/* oklch */ color: oklch(67.4% 0.139 257.7);
Tailwind
colors: {
  custom: {
    50: '#96b5f2',
    500: '#5d97eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d97eb;
$custom-light: #96b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97eb",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 215.493,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67434,
    "c": 0.13934,
    "h": 257.7
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#5D97EB
secondary
#EBD6B9
accent
#860BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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