#5A98EC#5A98EC

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

Color values

HEX#5A98EC
RGBrgb(90, 152, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(61.9%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.24, 5.37, -48.28)
CIE-LCHlch(62.24, 48.58, 276.35°)
OKLaboklab(67.57% -0.0329 -0.1369)
OKLCHoklch(67.57% 0.141 256.5)
XYZxyz(30.5796, 30.6834, 83.6516)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98EC #ECAE5A
analogous
#5AE1EC #5A98EC #655AEC
triadic
#5A98EC #EC5A98 #98EC5A
tetradic
#5A98EC #EC5AE1 #ECAE5A #5AEC65
square
#5A98EC #EC5AE1 #ECAE5A #5AEC65
split-complementary
#5A98EC #EC655A #E1EC5A
monochromatic
#155AB7 #2376E6 #5A98EC #91BAF2 #C8DDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A98EC#FFFFFF#000000##000000
##5A98EC1.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)
#749EEF
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a98ec;
/* rgb */ color: rgb(90, 152, 236);
/* oklch */ color: oklch(67.6% 0.141 256.5);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5a98ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a98ec;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98ec",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 214.521,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.14081,
    "h": 256.5
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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