#5A98BE#5A98BE

#5A98BE is a light, moderate cyan. Relative luminance 0.283; OKLCH L 65.3% C 0.086 H 237.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5A98BE
RGBrgb(90, 152, 190)
HSLhsl(203, 43%, 55%)
HSVhsv(203, 53%, 75%)
CMYKcmyk(52.6%, 20%, 0%, 25.5%)
CIE-LABlab(60.20, -9.22, -25.82)
CIE-LCHlch(60.20, 27.42, 250.35°)
OKLaboklab(65.29% -0.0467 -0.0719)
OKLCHoklch(65.29% 0.086 237)
XYZxyz(24.7356, 28.3458, 52.8730)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98BE #BE805A
analogous
#5ABEB2 #5A98BE #5A66BE
triadic
#5A98BE #BE5A98 #98BE5A
tetradic
#5A98BE #B25ABE #BE805A #66BE5A
square
#5A98BE #B25ABE #BE805A #66BE5A
split-complementary
#5A98BE #BE5A66 #BEB25A
monochromatic
#2D5771 #3E799D #5A98BE #86B3CF #B2CFE1

Accessibility & contrast

On white

3.15
#5A98BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5A98BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A98BE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98BE#FFFFFF#000000##000000
##5A98BE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797C0
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#1DA2A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a98be;
/* rgb */ color: rgb(90, 152, 190);
/* oklch */ color: oklch(65.3% 0.086 237.0);
Tailwind
colors: {
  custom: {
    50: '#8fb6d1',
    500: '#5a98be',
    950: '#000000',
  },
}
SCSS
$custom: #5a98be;
$custom-light: #8fb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98be",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 190
  },
  "hsl": {
    "h": 202.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.65292,
    "c": 0.08577,
    "h": 237
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

primary
#5A98BE
secondary
#CFB5A5
accent
#8555D3
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5A98BE

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

Preview Lab → · Contrast checker → · Palette generator →

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