#5D97EC#5D97EC

#5D97EC is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.141 H 257.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5D97EC
RGBrgb(93, 151, 236)
HSLhsl(216, 79%, 65%)
HSVhsv(216, 61%, 93%)
CMYKcmyk(60.6%, 36%, 0%, 7.5%)
CIE-LABlab(62.09, 6.50, -48.50)
CIE-LCHlch(62.09, 48.93, 277.64°)
OKLaboklab(67.49% -0.0295 -0.1375)
OKLCHoklch(67.49% 0.141 257.9)
XYZxyz(30.7158, 30.5137, 83.6117)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97EC #ECB25D
analogous
#5DDFEC #5D97EC #6A5DEC
triadic
#5D97EC #EC5D97 #97EC5D
tetradic
#5D97EC #EC5DDF #ECB25D #5DEC6A
square
#5D97EC #EC5DDF #ECB25D #5DEC6A
split-complementary
#5D97EC #EC6A5D #DFEC5D
monochromatic
#1658B9 #2674E6 #5D97EC #94BAF2 #CBDDF9

Accessibility & contrast

On white

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

On black

7.10
#5D97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97EC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97EC#FFFFFF#000000##000000
##5D97EC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5d97ec;
/* rgb */ color: rgb(93, 151, 236);
/* oklch */ color: oklch(67.5% 0.141 257.9);
Tailwind
colors: {
  custom: {
    50: '#96b5f2',
    500: '#5d97ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d97ec;
$custom-light: #96b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97ec",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 215.664,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.14063,
    "h": 257.9
  },
  "luminance": 0.30517
}

Semantic roles & 50–950 ramp

primary
#5D97EC
secondary
#EBD7BA
accent
#860ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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