#5A98E7#5A98E7

#5A98E7 is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.3% C 0.134 H 255.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5A98E7
RGBrgb(90, 152, 231)
HSLhsl(214, 75%, 63%)
HSVhsv(214, 61%, 91%)
CMYKcmyk(61%, 34.2%, 0%, 9.4%)
CIE-LABlab(62.00, 3.73, -45.91)
CIE-LCHlch(62.00, 46.06, 274.64°)
OKLaboklab(67.3% -0.0342 -0.13)
OKLCHoklch(67.3% 0.134 255.3)
XYZxyz(29.8633, 30.3969, 79.8792)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98E7 #E7A95A
analogous
#5ADEE7 #5A98E7 #625AE7
triadic
#5A98E7 #E75A98 #98E75A
tetradic
#5A98E7 #E75ADE #E7A95A #5AE762
square
#5A98E7 #E75ADE #E7A95A #5AE762
split-complementary
#5A98E7 #E7625A #DEE75A
monochromatic
#195AAD #2577DF #5A98E7 #8FB9EF #C5DBF7

Accessibility & contrast

On white

2.97
#5A98E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5A98E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98E7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98E7#FFFFFF#000000##000000
##5A98E71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a98e7;
/* rgb */ color: rgb(90, 152, 231);
/* oklch */ color: oklch(67.3% 0.134 255.3);
Tailwind
colors: {
  custom: {
    50: '#94b5ef',
    500: '#5a98e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a98e7;
$custom-light: #94b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98e7",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 213.617,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.13438,
    "h": 255.3
  },
  "luminance": 0.304
}

Semantic roles & 50–950 ramp

primary
#5A98E7
secondary
#E8D1B5
accent
#7F0FD7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A98E7

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

Preview Lab → · Contrast checker → · Palette generator →

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