#5B98EB#5B98EB

#5B98EB is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.6% C 0.139 H 256.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5B98EB
RGBrgb(91, 152, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 61%, 92%)
CMYKcmyk(61.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.23, 5.22, -47.74)
CIE-LCHlch(62.23, 48.02, 276.25°)
OKLaboklab(67.56% -0.0324 -0.1353)
OKLCHoklch(67.56% 0.139 256.5)
XYZxyz(30.5327, 30.6760, 82.8932)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98EB #EBAE5B
analogous
#5BE0EB #5B98EB #665BEB
triadic
#5B98EB #EB5B98 #98EB5B
tetradic
#5B98EB #EB5BE0 #EBAE5B #5BEB66
square
#5B98EB #EB5BE0 #EBAE5B #5BEB66
split-complementary
#5B98EB #EB665B #E0EB5B
monochromatic
#165AB5 #2476E4 #5B98EB #92BAF2 #C8DDF8

Accessibility & contrast

On white

2.94
#5B98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5B98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98EB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98EB#FFFFFF#000000##000000
##5B98EB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEE
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b98eb;
/* rgb */ color: rgb(91, 152, 235);
/* oklch */ color: oklch(67.6% 0.139 256.5);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5b98eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b98eb;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98eb",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 214.583,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67556,
    "c": 0.13912,
    "h": 256.5
  },
  "luminance": 0.30679
}

Semantic roles & 50–950 ramp

primary
#5B98EB
secondary
#EAD5B8
accent
#830BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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