#5D97F6#5D97F6

#5D97F6 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.154 H 259.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5D97F6
RGBrgb(93, 151, 246)
HSLhsl(217, 89%, 66%)
HSVhsv(217, 62%, 96%)
CMYKcmyk(62.2%, 38.6%, 0%, 3.5%)
CIE-LABlab(62.60, 9.79, -53.20)
CIE-LCHlch(62.60, 54.09, 280.43°)
OKLaboklab(68.05% -0.0272 -0.1512)
OKLCHoklch(68.05% 0.154 259.8)
XYZxyz(32.2095, 31.1112, 91.4786)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97F6 #F6BC5D
analogous
#5DE4F6 #5D97F6 #705DF6
triadic
#5D97F6 #F65D97 #97F65D
tetradic
#5D97F6 #F65DE4 #F6BC5D #5DF670
square
#5D97F6 #F65DE4 #F6BC5D #5DF670
split-complementary
#5D97F6 #F6705D #E4F65D
monochromatic
#0B55CD #2372F3 #5D97F6 #97BCF9 #D1E1FC

Accessibility & contrast

On white

2.91
#5D97F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5D97F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97F6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97F6#FFFFFF#000000##000000
##5D97F61.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d97f6;
/* rgb */ color: rgb(93, 151, 246);
/* oklch */ color: oklch(68.0% 0.154 259.8);
Tailwind
colors: {
  custom: {
    50: '#98b5f9',
    500: '#5d97f6',
    950: '#000000',
  },
}
SCSS
$custom: #5d97f6;
$custom-light: #98b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97f6",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 217.255,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.15369,
    "h": 259.8
  },
  "luminance": 0.31114
}

Semantic roles & 50–950 ramp

primary
#5D97F6
secondary
#F0DDBF
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D97F6

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

Preview Lab → · Contrast checker → · Palette generator →

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