#5D97F2#5D97F2

#5D97F2 is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.148 H 259.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5D97F2
RGBrgb(93, 151, 242)
HSLhsl(217, 85%, 66%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(61.6%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.40, 8.47, -51.33)
CIE-LCHlch(62.40, 52.02, 279.37°)
OKLaboklab(67.82% -0.0281 -0.1458)
OKLCHoklch(67.82% 0.148 259.1)
XYZxyz(31.6022, 30.8683, 88.2800)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97F2 #F2B85D
analogous
#5DE2F2 #5D97F2 #6D5DF2
triadic
#5D97F2 #F25D97 #97F25D
tetradic
#5D97F2 #F25DE2 #F2B85D #5DF26D
square
#5D97F2 #F25DE2 #F2B85D #5DF26D
split-complementary
#5D97F2 #F26D5D #E2F25D
monochromatic
#1056C5 #2473ED #5D97F2 #96BBF7 #CEE0FB

Accessibility & contrast

On white

2.93
#5D97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5D97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97F2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97F2#FFFFFF#000000##000000
##5D97F21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF6
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d97f2;
/* rgb */ color: rgb(93, 151, 242);
/* oklch */ color: oklch(67.8% 0.148 259.1);
Tailwind
colors: {
  custom: {
    50: '#97b5f7',
    500: '#5d97f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d97f2;
$custom-light: #97b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97f2",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 216.644,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.14846,
    "h": 259.1
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#5D97F2
secondary
#EEDBBD
accent
#8B04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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