#5D98EF#5D98EF

#5D98EF is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.144 H 258.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5D98EF
RGBrgb(93, 152, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 61%, 94%)
CMYKcmyk(61.1%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.52, 6.90, -49.48)
CIE-LCHlch(62.52, 49.96, 277.94°)
OKLaboklab(67.87% -0.0298 -0.1404)
OKLCHoklch(67.87% 0.144 258)
XYZxyz(31.3169, 31.0128, 85.9803)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98EF #EFB45D
analogous
#5DE1EF #5D98EF #6B5DEF
triadic
#5D98EF #EF5D98 #98EF5D
tetradic
#5D98EF #EF5DE1 #EFB45D #5DEF6B
square
#5D98EF #EF5DE1 #EFB45D #5DEF6B
split-complementary
#5D98EF #EF6B5D #E1EF5D
monochromatic
#1358BF #2575E9 #5D98EF #95BBF5 #CCDFFA

Accessibility & contrast

On white

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

On black

7.20
#5D98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98EF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98EF#FFFFFF#000000##000000
##5D98EF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98ef;
/* rgb */ color: rgb(93, 152, 239);
/* oklch */ color: oklch(67.9% 0.144 258.0);
Tailwind
colors: {
  custom: {
    50: '#97b5f4',
    500: '#5d98ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d98ef;
$custom-light: #97b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98ef",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 215.753,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.14351,
    "h": 258
  },
  "luminance": 0.31016
}

Semantic roles & 50–950 ramp

primary
#5D98EF
secondary
#EDD9BB
accent
#8707DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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