#5A98EA#5A98EA

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

Color values

HEX#5A98EA
RGBrgb(90, 152, 234)
HSLhsl(214, 77%, 64%)
HSVhsv(214, 62%, 92%)
CMYKcmyk(61.5%, 35%, 0%, 8.2%)
CIE-LABlab(62.14, 4.71, -47.33)
CIE-LCHlch(62.14, 47.57, 275.69°)
OKLaboklab(67.46% -0.0334 -0.1341)
OKLCHoklch(67.46% 0.138 256)
XYZxyz(30.2907, 30.5678, 82.1298)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98EA #EAAC5A
analogous
#5AE0EA #5A98EA #645AEA
triadic
#5A98EA #EA5A98 #98EA5A
tetradic
#5A98EA #EA5AE0 #EAAC5A #5AEA64
square
#5A98EA #EA5AE0 #EAAC5A #5AEA64
split-complementary
#5A98EA #EA645A #E0EA5A
monochromatic
#175AB3 #2476E3 #5A98EA #90BAF1 #C7DCF8

Accessibility & contrast

On white

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

On black

7.11
#5A98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98EA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98EA#FFFFFF#000000##000000
##5A98EA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a98ea;
/* rgb */ color: rgb(90, 152, 234);
/* oklch */ color: oklch(67.5% 0.138 256.0);
Tailwind
colors: {
  custom: {
    50: '#95b5f1',
    500: '#5a98ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a98ea;
$custom-light: #95b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98ea",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 214.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.13824,
    "h": 256
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#5A98EA
secondary
#E9D3B6
accent
#810CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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