#5D98F7#5D98F7

#5D98F7 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.3% C 0.154 H 259.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5D98F7
RGBrgb(93, 152, 247)
HSLhsl(217, 91%, 67%)
HSVhsv(217, 62%, 97%)
CMYKcmyk(62.3%, 38.5%, 0%, 3.1%)
CIE-LABlab(62.92, 9.54, -53.24)
CIE-LCHlch(62.92, 54.08, 280.16°)
OKLaboklab(68.32% -0.028 -0.1514)
OKLCHoklch(68.32% 0.154 259.5)
XYZxyz(32.5250, 31.4960, 92.3429)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F7 #F7BC5D
analogous
#5DE5F7 #5D98F7 #6F5DF7
triadic
#5D98F7 #F75D98 #98F75D
tetradic
#5D98F7 #F75DE5 #F7BC5D #5DF76F
square
#5D98F7 #F75DE5 #F7BC5D #5DF76F
split-complementary
#5D98F7 #F76F5D #E5F75D
monochromatic
#0A56CF #2373F4 #5D98F7 #97BDFA #D2E2FD

Accessibility & contrast

On white

2.88
#5D98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5D98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F7#FFFFFF#000000##000000
##5D98F71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d98f7;
/* rgb */ color: rgb(93, 152, 247);
/* oklch */ color: oklch(68.3% 0.154 259.5);
Tailwind
colors: {
  custom: {
    50: '#98b5fa',
    500: '#5d98f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f7;
$custom-light: #98b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f7",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 217.013,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68315,
    "c": 0.15392,
    "h": 259.5
  },
  "luminance": 0.31499
}

Semantic roles & 50–950 ramp

primary
#5D98F7
secondary
#F1DEBF
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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