#5D98F4#5D98F4

#5D98F4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.150 H 259.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D98F4
RGBrgb(93, 152, 244)
HSLhsl(217, 87%, 66%)
HSVhsv(217, 62%, 96%)
CMYKcmyk(61.9%, 37.7%, 0%, 4.3%)
CIE-LABlab(62.77, 8.55, -51.83)
CIE-LCHlch(62.77, 52.53, 279.36°)
OKLaboklab(68.15% -0.0287 -0.1472)
OKLCHoklch(68.15% 0.15 259)
XYZxyz(32.0658, 31.3123, 89.9244)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F4 #F4B95D
analogous
#5DE4F4 #5D98F4 #6D5DF4
triadic
#5D98F4 #F45D98 #98F45D
tetradic
#5D98F4 #F45DE4 #F4B95D #5DF46D
square
#5D98F4 #F45DE4 #F4B95D #5DF46D
split-complementary
#5D98F4 #F46D5D #E4F45D
monochromatic
#0E57C9 #2474F0 #5D98F4 #96BCF8 #D0E1FC

Accessibility & contrast

On white

2.89
#5D98F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5D98F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F4#FFFFFF#000000##000000
##5D98F41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F8
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d98f4;
/* rgb */ color: rgb(93, 152, 244);
/* oklch */ color: oklch(68.1% 0.150 259.0);
Tailwind
colors: {
  custom: {
    50: '#97b5f8',
    500: '#5d98f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f4;
$custom-light: #97b5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f4",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 216.556,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.15001,
    "h": 259
  },
  "luminance": 0.31315
}

Semantic roles & 50–950 ramp

primary
#5D98F4
secondary
#EFDCBE
accent
#8B02E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D98F4

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

Preview Lab → · Contrast checker → · Palette generator →

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