#5D98FF#5D98FF

#5D98FF is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.8% C 0.164 H 260.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5D98FF
RGBrgb(93, 152, 255)
HSLhsl(218, 100%, 68%)
HSVhsv(218, 64%, 100%)
CMYKcmyk(63.5%, 40.4%, 0%, 0%)
CIE-LABlab(63.34, 12.19, -56.95)
CIE-LCHlch(63.34, 58.24, 282.09°)
OKLaboklab(68.78% -0.0264 -0.1622)
OKLCHoklch(68.78% 0.164 260.8)
XYZxyz(33.7861, 32.0004, 98.9845)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98FF #FFC45D
analogous
#5DE9FF #5D98FF #735DFF
triadic
#5D98FF #FF5D98 #98FF5D
tetradic
#5D98FF #FF5DE9 #FFC45D #5DFF73
square
#5D98FF #FF5DE9 #FFC45D #5DFF73
split-complementary
#5D98FF #FF735D #E9FF5D
monochromatic
#0052E2 #2071FF #5D98FF #9ABFFF #D7E6FF

Accessibility & contrast

On white

2.84
#5D98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#5D98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98FF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98FF#FFFFFF#000000##000000
##5D98FF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5192FD
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5d98ff;
/* rgb */ color: rgb(93, 152, 255);
/* oklch */ color: oklch(68.8% 0.164 260.8);
Tailwind
colors: {
  custom: {
    50: '#99b5ff',
    500: '#5d98ff',
    950: '#000000',
  },
}
SCSS
$custom: #5d98ff;
$custom-light: #99b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98ff",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 218.148,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68776,
    "c": 0.16436,
    "h": 260.8
  },
  "luminance": 0.32004
}

Semantic roles & 50–950 ramp

primary
#5D98FF
secondary
#F4E3C3
accent
#9200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5D98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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