#5D98F9#5D98F9

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

Color values

HEX#5D98F9
RGBrgb(93, 152, 249)
HSLhsl(217, 93%, 67%)
HSVhsv(217, 63%, 98%)
CMYKcmyk(62.7%, 39%, 0%, 2.4%)
CIE-LABlab(63.03, 10.20, -54.17)
CIE-LCHlch(63.03, 55.12, 280.66°)
OKLaboklab(68.43% -0.0276 -0.1541)
OKLCHoklch(68.43% 0.157 259.8)
XYZxyz(32.8353, 31.6201, 93.9771)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F9 #F9BE5D
analogous
#5DE6F9 #5D98F9 #705DF9
triadic
#5D98F9 #F95D98 #98F95D
tetradic
#5D98F9 #F95DE6 #F9BE5D #5DF970
square
#5D98F9 #F95DE6 #F9BE5D #5DF970
split-complementary
#5D98F9 #F9705D #E6F95D
monochromatic
#0855D4 #2272F7 #5D98F9 #98BEFB #D3E3FD

Accessibility & contrast

On white

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

On black

7.32
#5D98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F9#FFFFFF#000000##000000
##5D98F91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d98f9;
/* rgb */ color: rgb(93, 152, 249);
/* oklch */ color: oklch(68.4% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#98b5fc',
    500: '#5d98f9',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f9;
$custom-light: #98b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f9",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 217.308,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.15653,
    "h": 259.8
  },
  "luminance": 0.31623
}

Semantic roles & 50–950 ramp

primary
#5D98F9
secondary
#F2DFC0
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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