#5B98EA#5B98EA

#5B98EA is a light, vivid cyan. Relative luminance 0.306; OKLCH L 67.5% C 0.138 H 256.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5B98EA
RGBrgb(91, 152, 234)
HSLhsl(214, 77%, 64%)
HSVhsv(214, 61%, 92%)
CMYKcmyk(61.1%, 35%, 0%, 8.2%)
CIE-LABlab(62.18, 4.90, -47.26)
CIE-LCHlch(62.18, 47.51, 275.91°)
OKLaboklab(67.5% -0.0326 -0.1339)
OKLCHoklch(67.5% 0.138 256.3)
XYZxyz(30.3886, 30.6183, 82.1344)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98EA #EAAD5B
analogous
#5BDFEA #5B98EA #655BEA
triadic
#5B98EA #EA5B98 #98EA5B
tetradic
#5B98EA #EA5BDF #EAAD5B #5BEA65
square
#5B98EA #EA5BDF #EAAD5B #5BEA65
split-complementary
#5B98EA #EA655B #DFEA5B
monochromatic
#175AB4 #2576E3 #5B98EA #91BAF1 #C8DCF8

Accessibility & contrast

On white

2.95
#5B98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5B98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98EA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98EA#FFFFFF#000000##000000
##5B98EA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EED
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b98ea;
/* rgb */ color: rgb(91, 152, 234);
/* oklch */ color: oklch(67.5% 0.138 256.3);
Tailwind
colors: {
  custom: {
    50: '#95b5f1',
    500: '#5b98ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b98ea;
$custom-light: #95b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98ea",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 214.406,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.13783,
    "h": 256.3
  },
  "luminance": 0.30621
}

Semantic roles & 50–950 ramp

primary
#5B98EA
secondary
#EAD4B7
accent
#820CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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