#5B98F7#5B98F7

#5B98F7 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.155 H 259.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5B98F7
RGBrgb(91, 152, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(63.2%, 38.5%, 0%, 3.1%)
CIE-LABlab(62.84, 9.19, -53.38)
CIE-LCHlch(62.84, 54.16, 279.77°)
OKLaboklab(68.22% -0.0296 -0.1518)
OKLCHoklch(68.22% 0.155 259)
XYZxyz(32.3251, 31.3930, 92.3336)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98F7 #F7BA5B
analogous
#5BE6F7 #5B98F7 #6C5BF7
triadic
#5B98F7 #F75B98 #98F75B
tetradic
#5B98F7 #F75BE6 #F7BA5B #5BF76C
square
#5B98F7 #F75BE6 #F7BA5B #5BF76C
split-complementary
#5B98F7 #F76C5B #E6F75B
monochromatic
#0A56CE #2173F4 #5B98F7 #95BDFA #D0E1FD

Accessibility & contrast

On white

2.88
#5B98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5B98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98F7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98F7#FFFFFF#000000##000000
##5B98F71.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5b98f7;
/* rgb */ color: rgb(91, 152, 247);
/* oklch */ color: oklch(68.2% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#97b5fa',
    500: '#5b98f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b98f7;
$custom-light: #97b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98f7",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 216.538,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68224,
    "c": 0.15466,
    "h": 259
  },
  "luminance": 0.31396
}

Semantic roles & 50–950 ramp

primary
#5B98F7
secondary
#F0DCBD
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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