#5B98F1#5B98F1

#5B98F1 is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.147 H 257.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5B98F1
RGBrgb(91, 152, 241)
HSLhsl(216, 84%, 65%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(62.2%, 36.9%, 0%, 5.5%)
CIE-LABlab(62.53, 7.20, -50.57)
CIE-LCHlch(62.53, 51.08, 278.10°)
OKLaboklab(67.89% -0.031 -0.1436)
OKLCHoklch(67.89% 0.147 257.8)
XYZxyz(31.4141, 31.0286, 87.5356)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98F1 #F1B45B
analogous
#5BE3F1 #5B98F1 #695BF1
triadic
#5B98F1 #F15B98 #98F15B
tetradic
#5B98F1 #F15BE3 #F1B45B #5BF169
square
#5B98F1 #F15BE3 #F1B45B #5BF169
split-complementary
#5B98F1 #F1695B #E3F15B
monochromatic
#1058C1 #2375EC #5B98F1 #93BBF6 #CCDFFB

Accessibility & contrast

On white

2.91
#5B98F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5B98F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98F1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98F1#FFFFFF#000000##000000
##5B98F11.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b98f1;
/* rgb */ color: rgb(91, 152, 241);
/* oklch */ color: oklch(67.9% 0.147 257.8);
Tailwind
colors: {
  custom: {
    50: '#96b5f6',
    500: '#5b98f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b98f1;
$custom-light: #96b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98f1",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 215.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67886,
    "c": 0.14687,
    "h": 257.8
  },
  "luminance": 0.31031
}

Semantic roles & 50–950 ramp

primary
#5B98F1
secondary
#EDD9BA
accent
#8705E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B98F1

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

Preview Lab → · Contrast checker → · Palette generator →

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