#5D97F0#5D97F0

#5D97F0 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.146 H 258.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5D97F0
RGBrgb(93, 151, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 61%, 94%)
CMYKcmyk(61.2%, 37.1%, 0%, 5.9%)
CIE-LABlab(62.30, 7.81, -50.39)
CIE-LCHlch(62.30, 50.99, 278.82°)
OKLaboklab(67.71% -0.0286 -0.143)
OKLCHoklch(67.71% 0.146 258.7)
XYZxyz(31.3034, 30.7488, 86.7066)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97F0 #F0B65D
analogous
#5DE0F0 #5D97F0 #6D5DF0
triadic
#5D97F0 #F05D97 #97F05D
tetradic
#5D97F0 #F05DE0 #F0B65D #5DF06D
square
#5D97F0 #F05DE0 #F0B65D #5DF06D
split-complementary
#5D97F0 #F06D5D #E0F05D
monochromatic
#1257C1 #2573EB #5D97F0 #95BBF5 #CDDFFA

Accessibility & contrast

On white

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

On black

7.15
#5D97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97F0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97F0#FFFFFF#000000##000000
##5D97F01.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d97f0;
/* rgb */ color: rgb(93, 151, 240);
/* oklch */ color: oklch(67.7% 0.146 258.7);
Tailwind
colors: {
  custom: {
    50: '#97b5f5',
    500: '#5d97f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d97f0;
$custom-light: #97b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97f0",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 216.327,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.14585,
    "h": 258.7
  },
  "luminance": 0.30752
}

Semantic roles & 50–950 ramp

primary
#5D97F0
secondary
#EDDABC
accent
#8A06DF
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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