#5B98EC#5B98EC

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

Color values

HEX#5B98EC
RGBrgb(91, 152, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 61%, 93%)
CMYKcmyk(61.4%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.28, 5.55, -48.21)
CIE-LCHlch(62.28, 48.53, 276.57°)
OKLaboklab(67.61% -0.0321 -0.1367)
OKLCHoklch(67.61% 0.14 256.8)
XYZxyz(30.6775, 30.7339, 83.6562)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98EC #ECAF5B
analogous
#5BE0EC #5B98EC #675BEC
triadic
#5B98EC #EC5B98 #98EC5B
tetradic
#5B98EC #EC5BE0 #ECAF5B #5BEC67
square
#5B98EC #EC5BE0 #ECAF5B #5BEC67
split-complementary
#5B98EC #EC675B #E0EC5B
monochromatic
#1559B7 #2476E6 #5B98EC #92BAF2 #C9DDF9

Accessibility & contrast

On white

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

On black

7.15
#5B98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98EC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98EC#FFFFFF#000000##000000
##5B98EC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b98ec;
/* rgb */ color: rgb(91, 152, 236);
/* oklch */ color: oklch(67.6% 0.140 256.8);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5b98ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b98ec;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98ec",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 214.759,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67611,
    "c": 0.14041,
    "h": 256.8
  },
  "luminance": 0.30737
}

Semantic roles & 50–950 ramp

primary
#5B98EC
secondary
#EBD5B8
accent
#830ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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