#5B98F5#5B98F5

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

Color values

HEX#5B98F5
RGBrgb(91, 152, 245)
HSLhsl(216, 89%, 66%)
HSVhsv(216, 63%, 96%)
CMYKcmyk(62.9%, 38%, 0%, 3.9%)
CIE-LABlab(62.74, 8.53, -52.44)
CIE-LCHlch(62.74, 53.13, 279.23°)
OKLaboklab(68.11% -0.0301 -0.1491)
OKLCHoklch(68.11% 0.152 258.6)
XYZxyz(32.0182, 31.2702, 90.7169)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98F5 #F5B85B
analogous
#5BE5F5 #5B98F5 #6B5BF5
triadic
#5B98F5 #F55B98 #98F55B
tetradic
#5B98F5 #F55BE5 #F5B85B #5BF56B
square
#5B98F5 #F55BE5 #F5B85B #5BF56B
split-complementary
#5B98F5 #F56B5B #E5F55B
monochromatic
#0C57C9 #2174F1 #5B98F5 #95BCF9 #CEE0FC

Accessibility & contrast

On white

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

On black

7.25
#5B98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98F5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98F5#FFFFFF#000000##000000
##5B98F51.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5b98f5;
/* rgb */ color: rgb(91, 152, 245);
/* oklch */ color: oklch(68.1% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#97b5f9',
    500: '#5b98f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b98f5;
$custom-light: #97b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98f5",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 216.234,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.15206,
    "h": 258.6
  },
  "luminance": 0.31273
}

Semantic roles & 50–950 ramp

primary
#5B98F5
secondary
#EFDBBC
accent
#8B00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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