#5D98EB#5D98EB

#5D98EB is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.6% C 0.138 H 257.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5D98EB
RGBrgb(93, 152, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 60%, 92%)
CMYKcmyk(60.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.32, 5.59, -47.59)
CIE-LCHlch(62.32, 47.92, 276.70°)
OKLaboklab(67.65% -0.0308 -0.1348)
OKLCHoklch(67.65% 0.138 257.1)
XYZxyz(30.7325, 30.7790, 82.9025)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98EB #EBB05D
analogous
#5DDFEB #5D98EB #695DEB
triadic
#5D98EB #EB5D98 #98EB5D
tetradic
#5D98EB #EB5DDF #EBB05D #5DEB69
square
#5D98EB #EB5DDF #EBB05D #5DEB69
split-complementary
#5D98EB #EB695D #DFEB5D
monochromatic
#1759B7 #2775E4 #5D98EB #93BBF2 #CADDF8

Accessibility & contrast

On white

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

On black

7.16
#5D98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98EB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98EB#FFFFFF#000000##000000
##5D98EB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98eb;
/* rgb */ color: rgb(93, 152, 235);
/* oklch */ color: oklch(67.6% 0.138 257.1);
Tailwind
colors: {
  custom: {
    50: '#96b5f2',
    500: '#5d98eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d98eb;
$custom-light: #96b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98eb",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 215.07,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.13831,
    "h": 257.1
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#5D98EB
secondary
#EBD6B9
accent
#840BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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