#5A98EE#5A98EE

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

Color values

HEX#5A98EE
RGBrgb(90, 152, 238)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(62.2%, 36.1%, 0%, 6.7%)
CIE-LABlab(62.34, 6.03, -49.23)
CIE-LCHlch(62.34, 49.59, 276.99°)
OKLaboklab(67.68% -0.0325 -0.1397)
OKLCHoklch(67.68% 0.143 256.9)
XYZxyz(30.8718, 30.8003, 85.1905)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98EE #EEB05A
analogous
#5AE2EE #5A98EE #665AEE
triadic
#5A98EE #EE5A98 #98EE5A
tetradic
#5A98EE #EE5AE2 #EEB05A #5AEE66
square
#5A98EE #EE5AE2 #EEB05A #5AEE66
split-complementary
#5A98EE #EE665A #E2EE5A
monochromatic
#1359BA #2375E8 #5A98EE #91BBF4 #C9DDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A98EE#FFFFFF#000000##000000
##5A98EE1.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)
#739EF2
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a98ee;
/* rgb */ color: rgb(90, 152, 238);
/* oklch */ color: oklch(67.7% 0.143 256.9);
Tailwind
colors: {
  custom: {
    50: '#95b5f4',
    500: '#5a98ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a98ee;
$custom-light: #95b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98ee",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 214.865,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.14338,
    "h": 256.9
  },
  "luminance": 0.30803
}

Semantic roles & 50–950 ramp

primary
#5A98EE
secondary
#ECD6B8
accent
#8408DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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