#5D98EC#5D98EC

#5D98EC is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.140 H 257.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5D98EC
RGBrgb(93, 152, 236)
HSLhsl(215, 79%, 65%)
HSVhsv(215, 61%, 93%)
CMYKcmyk(60.6%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.37, 5.92, -48.07)
CIE-LCHlch(62.37, 48.43, 277.02°)
OKLaboklab(67.7% -0.0305 -0.1362)
OKLCHoklch(67.7% 0.14 257.4)
XYZxyz(30.8774, 30.8370, 83.6655)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98EC #ECB15D
analogous
#5DDFEC #5D98EC #6A5DEC
triadic
#5D98EC #EC5D98 #98EC5D
tetradic
#5D98EC #EC5DDF #ECB15D #5DEC6A
square
#5D98EC #EC5DDF #ECB15D #5DEC6A
split-complementary
#5D98EC #EC6A5D #DFEC5D
monochromatic
#1659B9 #2675E6 #5D98EC #94BBF2 #CBDEF9

Accessibility & contrast

On white

2.93
#5D98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5D98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98EC#FFFFFF#000000##000000
##5D98EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98ec;
/* rgb */ color: rgb(93, 152, 236);
/* oklch */ color: oklch(67.7% 0.140 257.4);
Tailwind
colors: {
  custom: {
    50: '#96b5f2',
    500: '#5d98ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d98ec;
$custom-light: #96b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98ec",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 215.245,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67703,
    "c": 0.13961,
    "h": 257.4
  },
  "luminance": 0.3084
}

Semantic roles & 50–950 ramp

primary
#5D98EC
secondary
#EBD7BA
accent
#850ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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