#5D98F5#5D98F5

#5D98F5 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.151 H 259.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5D98F5
RGBrgb(93, 152, 245)
HSLhsl(217, 88%, 66%)
HSVhsv(217, 62%, 96%)
CMYKcmyk(62%, 38%, 0%, 3.9%)
CIE-LABlab(62.82, 8.88, -52.30)
CIE-LCHlch(62.82, 53.05, 279.63°)
OKLaboklab(68.2% -0.0285 -0.1486)
OKLCHoklch(68.2% 0.151 259.2)
XYZxyz(32.2180, 31.3732, 90.7263)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F5 #F5BA5D
analogous
#5DE4F5 #5D98F5 #6E5DF5
triadic
#5D98F5 #F55D98 #98F55D
tetradic
#5D98F5 #F55DE4 #F5BA5D #5DF56E
square
#5D98F5 #F55DE4 #F5BA5D #5DF56E
split-complementary
#5D98F5 #F56E5D #E4F55D
monochromatic
#0D56CB #2373F1 #5D98F5 #97BDF9 #D0E1FC

Accessibility & contrast

On white

2.89
#5D98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5D98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F5#FFFFFF#000000##000000
##5D98F51.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d98f5;
/* rgb */ color: rgb(93, 152, 245);
/* oklch */ color: oklch(68.2% 0.151 259.2);
Tailwind
colors: {
  custom: {
    50: '#98b5f9',
    500: '#5d98f5',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f5;
$custom-light: #98b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f5",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 216.711,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.15131,
    "h": 259.2
  },
  "luminance": 0.31376
}

Semantic roles & 50–950 ramp

primary
#5D98F5
secondary
#F0DCBE
accent
#8C01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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