#5B98ED#5B98ED

#5B98ED is a light, vivid cyan. Relative luminance 0.308; OKLCH L 67.7% C 0.142 H 257.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5B98ED
RGBrgb(91, 152, 237)
HSLhsl(215, 80%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(61.6%, 35.9%, 0%, 7.1%)
CIE-LABlab(62.33, 5.88, -48.68)
CIE-LCHlch(62.33, 49.04, 276.89°)
OKLaboklab(67.66% -0.0319 -0.1381)
OKLCHoklch(67.66% 0.142 257)
XYZxyz(30.8232, 30.7922, 84.4235)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98ED #EDB05B
analogous
#5BE1ED #5B98ED #675BED
triadic
#5B98ED #ED5B98 #98ED5B
tetradic
#5B98ED #ED5BE1 #EDB05B #5BED67
square
#5B98ED #ED5BE1 #EDB05B #5BED67
split-complementary
#5B98ED #ED675B #E1ED5B
monochromatic
#1459B9 #2475E7 #5B98ED #92BBF3 #C9DDF9

Accessibility & contrast

On white

2.93
#5B98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5B98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98ED
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98ED#FFFFFF#000000##000000
##5B98ED1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b98ed;
/* rgb */ color: rgb(91, 152, 237);
/* oklch */ color: oklch(67.7% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#95b5f3',
    500: '#5b98ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b98ed;
$custom-light: #95b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98ed",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 214.932,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.1417,
    "h": 257
  },
  "luminance": 0.30795
}

Semantic roles & 50–950 ramp

primary
#5B98ED
secondary
#EBD6B9
accent
#8409DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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