#5D98ED#5D98ED

#5D98ED is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.141 H 257.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5D98ED
RGBrgb(93, 152, 237)
HSLhsl(215, 80%, 65%)
HSVhsv(215, 61%, 93%)
CMYKcmyk(60.8%, 35.9%, 0%, 7.1%)
CIE-LABlab(62.42, 6.25, -48.54)
CIE-LCHlch(62.42, 48.94, 277.33°)
OKLaboklab(67.76% -0.0303 -0.1376)
OKLCHoklch(67.76% 0.141 257.6)
XYZxyz(31.0231, 30.8952, 84.4328)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98ED #EDB25D
analogous
#5DE0ED #5D98ED #6A5DED
triadic
#5D98ED #ED5D98 #98ED5D
tetradic
#5D98ED #ED5DE0 #EDB25D #5DED6A
square
#5D98ED #ED5DE0 #EDB25D #5DED6A
split-complementary
#5D98ED #ED6A5D #E0ED5D
monochromatic
#1559BB #2675E7 #5D98ED #94BBF3 #CBDEF9

Accessibility & contrast

On white

2.92
#5D98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5D98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98ED
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98ED#FFFFFF#000000##000000
##5D98ED1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98ed;
/* rgb */ color: rgb(93, 152, 237);
/* oklch */ color: oklch(67.8% 0.141 257.6);
Tailwind
colors: {
  custom: {
    50: '#96b5f3',
    500: '#5d98ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d98ed;
$custom-light: #96b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98ed",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 215.417,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67757,
    "c": 0.14091,
    "h": 257.6
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

primary
#5D98ED
secondary
#ECD7BA
accent
#8609DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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