#5D98F2#5D98F2

#5D98F2 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.147 H 258.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5D98F2
RGBrgb(93, 152, 242)
HSLhsl(216, 85%, 66%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(61.6%, 37.2%, 0%, 5.1%)
CIE-LABlab(62.67, 7.89, -50.90)
CIE-LCHlch(62.67, 51.50, 278.81°)
OKLaboklab(68.03% -0.0291 -0.1445)
OKLCHoklch(68.03% 0.147 258.6)
XYZxyz(31.7638, 31.1915, 88.3338)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F2 #F2B75D
analogous
#5DE2F2 #5D98F2 #6C5DF2
triadic
#5D98F2 #F25D98 #98F25D
tetradic
#5D98F2 #F25DE2 #F2B75D #5DF26C
square
#5D98F2 #F25DE2 #F2B75D #5DF26C
split-complementary
#5D98F2 #F26C5D #E2F25D
monochromatic
#1057C5 #2474ED #5D98F2 #96BCF7 #CEE0FB

Accessibility & contrast

On white

2.90
#5D98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5D98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F2#FFFFFF#000000##000000
##5D98F21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d98f2;
/* rgb */ color: rgb(93, 152, 242);
/* oklch */ color: oklch(68.0% 0.147 258.6);
Tailwind
colors: {
  custom: {
    50: '#97b5f7',
    500: '#5d98f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f2;
$custom-light: #97b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f2",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 216.242,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.14741,
    "h": 258.6
  },
  "luminance": 0.31194
}

Semantic roles & 50–950 ramp

primary
#5D98F2
secondary
#EEDBBD
accent
#8A04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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