#5D98F8#5D98F8

#5D98F8 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.155 H 259.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5D98F8
RGBrgb(93, 152, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(62.5%, 38.7%, 0%, 2.7%)
CIE-LABlab(62.98, 9.87, -53.70)
CIE-LCHlch(62.98, 54.60, 280.41°)
OKLaboklab(68.37% -0.0278 -0.1527)
OKLCHoklch(68.37% 0.155 259.7)
XYZxyz(32.6797, 31.5579, 93.1578)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F8 #F8BD5D
analogous
#5DE6F8 #5D98F8 #705DF8
triadic
#5D98F8 #F85D98 #98F85D
tetradic
#5D98F8 #F85DE6 #F8BD5D #5DF870
square
#5D98F8 #F85DE6 #F8BD5D #5DF870
split-complementary
#5D98F8 #F8705D #E6F85D
monochromatic
#0955D2 #2273F5 #5D98F8 #98BDFB #D2E3FD

Accessibility & contrast

On white

2.87
#5D98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#5D98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F8#FFFFFF#000000##000000
##5D98F81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d98f8;
/* rgb */ color: rgb(93, 152, 248);
/* oklch */ color: oklch(68.4% 0.155 259.7);
Tailwind
colors: {
  custom: {
    50: '#98b5fb',
    500: '#5d98f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f8;
$custom-light: #98b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f8",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 217.161,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68371,
    "c": 0.15522,
    "h": 259.7
  },
  "luminance": 0.31561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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