#5A98EB#5A98EB

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

Color values

HEX#5A98EB
RGBrgb(90, 152, 235)
HSLhsl(214, 78%, 64%)
HSVhsv(214, 62%, 92%)
CMYKcmyk(61.7%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.19, 5.04, -47.81)
CIE-LCHlch(62.19, 48.07, 276.02°)
OKLaboklab(67.51% -0.0332 -0.1355)
OKLCHoklch(67.51% 0.14 256.2)
XYZxyz(30.4347, 30.6255, 82.8886)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98EB #EBAD5A
analogous
#5AE0EB #5A98EB #645AEB
triadic
#5A98EB #EB5A98 #98EB5A
tetradic
#5A98EB #EB5AE0 #EBAD5A #5AEB64
square
#5A98EB #EB5AE0 #EBAD5A #5AEB64
split-complementary
#5A98EB #EB645A #E0EB5A
monochromatic
#165AB5 #2376E4 #5A98EB #91BAF2 #C7DCF8

Accessibility & contrast

On white

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

On black

7.13
#5A98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98EB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98EB#FFFFFF#000000##000000
##5A98EB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEE
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a98eb;
/* rgb */ color: rgb(90, 152, 235);
/* oklch */ color: oklch(67.5% 0.140 256.2);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5a98eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a98eb;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98eb",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 214.345,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.13952,
    "h": 256.2
  },
  "luminance": 0.30628
}

Semantic roles & 50–950 ramp

primary
#5A98EB
secondary
#EAD4B7
accent
#820BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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