#5B98DD#5B98DD

#5B98DD is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.8% C 0.121 H 252.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5B98DD
RGBrgb(91, 152, 221)
HSLhsl(212, 66%, 61%)
HSVhsv(212, 59%, 87%)
CMYKcmyk(58.8%, 31.2%, 0%, 13.3%)
CIE-LABlab(61.57, 0.67, -41.04)
CIE-LCHlch(61.57, 41.04, 270.94°)
OKLaboklab(66.82% -0.0361 -0.1158)
OKLCHoklch(66.82% 0.121 252.7)
XYZxyz(28.5891, 29.8985, 72.6570)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98DD #DDA05B
analogous
#5BD9DD #5B98DD #5F5BDD
triadic
#5B98DD #DD5B98 #98DD5B
tetradic
#5B98DD #DD5BD9 #DDA05B #5BDD5F
square
#5B98DD #DD5BD9 #DDA05B #5BDD5F
split-complementary
#5B98DD #DD5F5B #D9DD5B
monochromatic
#215B9D #2B78D0 #5B98DD #8EB8E8 #C0D8F2

Accessibility & contrast

On white

3.01
#5B98DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5B98DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B98DD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98DD#FFFFFF#000000##000000
##5B98DD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE0
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b98dd;
/* rgb */ color: rgb(91, 152, 221);
/* oklch */ color: oklch(66.8% 0.121 252.7);
Tailwind
colors: {
  custom: {
    50: '#93b6e8',
    500: '#5b98dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b98dd;
$custom-light: #93b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98dd",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 211.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66817,
    "c": 0.12126,
    "h": 252.7
  },
  "luminance": 0.29901
}

Semantic roles & 50–950 ramp

primary
#5B98DD
secondary
#E2CBB1
accent
#7818CE
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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