#5D98FB#5D98FB

#5D98FB is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.159 H 260.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5D98FB
RGBrgb(93, 152, 251)
HSLhsl(218, 95%, 67%)
HSVhsv(218, 63%, 98%)
CMYKcmyk(62.9%, 39.4%, 0%, 1.6%)
CIE-LABlab(63.13, 10.86, -55.10)
CIE-LCHlch(63.13, 56.16, 281.15°)
OKLaboklab(68.54% -0.0272 -0.1568)
OKLCHoklch(68.54% 0.159 260.2)
XYZxyz(33.1489, 31.7455, 95.6287)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98FB #FBC05D
analogous
#5DE7FB #5D98FB #715DFB
triadic
#5D98FB #FB5D98 #98FB5D
tetradic
#5D98FB #FB5DE7 #FBC05D #5DFB71
square
#5D98FB #FB5DE7 #FBC05D #5DFB71
split-complementary
#5D98FB #FB715D #E7FB5D
monochromatic
#0554D8 #2172FA #5D98FB #99BEFC #D4E4FE

Accessibility & contrast

On white

2.86
#5D98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5D98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98FB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98FB#FFFFFF#000000##000000
##5D98FB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5d98fb;
/* rgb */ color: rgb(93, 152, 251);
/* oklch */ color: oklch(68.5% 0.159 260.2);
Tailwind
colors: {
  custom: {
    50: '#98b5fd',
    500: '#5d98fb',
    950: '#000000',
  },
}
SCSS
$custom: #5d98fb;
$custom-light: #98b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98fb",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 217.595,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68543,
    "c": 0.15914,
    "h": 260.2
  },
  "luminance": 0.31749
}

Semantic roles & 50–950 ramp

primary
#5D98FB
secondary
#F3E0C1
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5D98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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