#5D97EF#5D97EF

#5D97EF is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.7% C 0.145 H 258.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5D97EF
RGBrgb(93, 151, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 61%, 94%)
CMYKcmyk(61.1%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.24, 7.49, -49.92)
CIE-LCHlch(62.24, 50.48, 278.53°)
OKLaboklab(67.65% -0.0288 -0.1416)
OKLCHoklch(67.65% 0.145 258.5)
XYZxyz(31.1553, 30.6895, 85.9264)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97EF #EFB55D
analogous
#5DE0EF #5D97EF #6C5DEF
triadic
#5D97EF #EF5D97 #97EF5D
tetradic
#5D97EF #EF5DE0 #EFB55D #5DEF6C
square
#5D97EF #EF5DE0 #EFB55D #5DEF6C
split-complementary
#5D97EF #EF6C5D #E0EF5D
monochromatic
#1357BF #2573E9 #5D97EF #95BBF5 #CCDFFA

Accessibility & contrast

On white

2.94
#5D97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5D97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97EF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97EF#FFFFFF#000000##000000
##5D97EF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5d97ef;
/* rgb */ color: rgb(93, 151, 239);
/* oklch */ color: oklch(67.7% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#97b5f4',
    500: '#5d97ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d97ef;
$custom-light: #97b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97ef",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 216.164,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.14455,
    "h": 258.5
  },
  "luminance": 0.30692
}

Semantic roles & 50–950 ramp

primary
#5D97EF
secondary
#EDD9BB
accent
#8907DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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