#5D97ED#5D97ED

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

Color values

HEX#5D97ED
RGBrgb(93, 151, 237)
HSLhsl(216, 80%, 65%)
HSVhsv(216, 61%, 93%)
CMYKcmyk(60.8%, 36.3%, 0%, 7.1%)
CIE-LABlab(62.14, 6.83, -48.97)
CIE-LCHlch(62.14, 49.45, 277.94°)
OKLaboklab(67.54% -0.0293 -0.1389)
OKLCHoklch(67.54% 0.142 258.1)
XYZxyz(30.8615, 30.5720, 84.3790)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97ED #EDB35D
analogous
#5DDFED #5D97ED #6B5DED
triadic
#5D97ED #ED5D97 #97ED5D
tetradic
#5D97ED #ED5DDF #EDB35D #5DED6B
square
#5D97ED #ED5DDF #EDB35D #5DED6B
split-complementary
#5D97ED #ED6B5D #DFED5D
monochromatic
#1558BB #2674E7 #5D97ED #94BAF3 #CBDEF9

Accessibility & contrast

On white

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

On black

7.12
#5D97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97ED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97ED#FFFFFF#000000##000000
##5D97ED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF1
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5d97ed;
/* rgb */ color: rgb(93, 151, 237);
/* oklch */ color: oklch(67.5% 0.142 258.1);
Tailwind
colors: {
  custom: {
    50: '#96b5f3',
    500: '#5d97ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d97ed;
$custom-light: #96b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97ed",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 215.833,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.14194,
    "h": 258.1
  },
  "luminance": 0.30575
}

Semantic roles & 50–950 ramp

primary
#5D97ED
secondary
#ECD8BA
accent
#8709DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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