#5D98EE#5D98EE

#5D98EE is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.8% C 0.142 H 257.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5D98EE
RGBrgb(93, 152, 238)
HSLhsl(216, 81%, 65%)
HSVhsv(216, 61%, 93%)
CMYKcmyk(60.9%, 36.1%, 0%, 6.7%)
CIE-LABlab(62.47, 6.57, -49.01)
CIE-LCHlch(62.47, 49.45, 277.64°)
OKLaboklab(67.81% -0.0301 -0.139)
OKLCHoklch(67.81% 0.142 257.8)
XYZxyz(31.1696, 30.9538, 85.2044)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98EE #EEB35D
analogous
#5DE1EE #5D98EE #6A5DEE
triadic
#5D98EE #EE5D98 #98EE5D
tetradic
#5D98EE #EE5DE1 #EEB35D #5DEE6A
square
#5D98EE #EE5DE1 #EEB35D #5DEE6A
split-complementary
#5D98EE #EE6A5D #E1EE5D
monochromatic
#1459BD #2675E8 #5D98EE #94BBF4 #CCDEFA

Accessibility & contrast

On white

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

On black

7.19
#5D98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98EE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98EE#FFFFFF#000000##000000
##5D98EE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98ee;
/* rgb */ color: rgb(93, 152, 238);
/* oklch */ color: oklch(67.8% 0.142 257.8);
Tailwind
colors: {
  custom: {
    50: '#97b5f4',
    500: '#5d98ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d98ee;
$custom-light: #97b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98ee",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 215.586,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.14221,
    "h": 257.8
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

primary
#5D98EE
secondary
#ECD8BB
accent
#8708DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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