#5D97FF#5D97FF

#5D97FF is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.6% C 0.165 H 261.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5D97FF
RGBrgb(93, 151, 255)
HSLhsl(219, 100%, 68%)
HSVhsv(219, 64%, 100%)
CMYKcmyk(63.5%, 40.8%, 0%, 0%)
CIE-LABlab(63.08, 12.78, -57.37)
CIE-LCHlch(63.08, 58.78, 282.56°)
OKLaboklab(68.57% -0.0254 -0.1635)
OKLCHoklch(68.57% 0.165 261.2)
XYZxyz(33.6244, 31.6772, 98.9307)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97FF #FFC55D
analogous
#5DE8FF #5D97FF #745DFF
triadic
#5D97FF #FF5D97 #97FF5D
tetradic
#5D97FF #FF5DE8 #FFC55D #5DFF74
square
#5D97FF #FF5DE8 #FFC55D #5DFF74
split-complementary
#5D97FF #FF745D #E8FF5D
monochromatic
#0051E2 #2070FF #5D97FF #9ABEFF #D7E6FF

Accessibility & contrast

On white

2.86
#5D97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5D97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97FF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97FF#FFFFFF#000000##000000
##5D97FF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#4F92FD
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5d97ff;
/* rgb */ color: rgb(93, 151, 255);
/* oklch */ color: oklch(68.6% 0.165 261.2);
Tailwind
colors: {
  custom: {
    50: '#99b5ff',
    500: '#5d97ff',
    950: '#000000',
  },
}
SCSS
$custom: #5d97ff;
$custom-light: #99b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97ff",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 218.519,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68568,
    "c": 0.16545,
    "h": 261.2
  },
  "luminance": 0.3168
}

Semantic roles & 50–950 ramp

primary
#5D97FF
secondary
#F4E3C3
accent
#9300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5D97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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