#5A98E8#5A98E8

#5A98E8 is a light, vivid cyan. Relative luminance 0.305; OKLCH L 67.3% C 0.136 H 255.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5A98E8
RGBrgb(90, 152, 232)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 61%, 91%)
CMYKcmyk(61.2%, 34.5%, 0%, 9%)
CIE-LABlab(62.04, 4.06, -46.38)
CIE-LCHlch(62.04, 46.56, 275.00°)
OKLaboklab(67.35% -0.0339 -0.1313)
OKLCHoklch(67.35% 0.136 255.5)
XYZxyz(30.0050, 30.4536, 80.6252)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98E8 #E8AA5A
analogous
#5ADFE8 #5A98E8 #635AE8
triadic
#5A98E8 #E85A98 #98E85A
tetradic
#5A98E8 #E85ADF #E8AA5A #5AE863
square
#5A98E8 #E85ADF #E8AA5A #5AE863
split-complementary
#5A98E8 #E8635A #DFE85A
monochromatic
#185AAF #2476E1 #5A98E8 #90BAEF #C5DBF7

Accessibility & contrast

On white

2.96
#5A98E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5A98E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98E8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98E8#FFFFFF#000000##000000
##5A98E81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a98e8;
/* rgb */ color: rgb(90, 152, 232);
/* oklch */ color: oklch(67.3% 0.136 255.5);
Tailwind
colors: {
  custom: {
    50: '#94b5ef',
    500: '#5a98e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a98e8;
$custom-light: #94b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98e8",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 213.803,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.13566,
    "h": 255.5
  },
  "luminance": 0.30456
}

Semantic roles & 50–950 ramp

primary
#5A98E8
secondary
#E8D2B5
accent
#800ED8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A98E8

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

Preview Lab → · Contrast checker → · Palette generator →

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