#5A98FD#5A98FD

#5A98FD is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.163 H 259.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5A98FD
RGBrgb(90, 152, 253)
HSLhsl(217, 98%, 67%)
HSVhsv(217, 64%, 99%)
CMYKcmyk(64.4%, 39.9%, 0%, 0.8%)
CIE-LABlab(63.11, 11.03, -56.23)
CIE-LCHlch(63.11, 57.30, 281.09°)
OKLaboklab(68.53% -0.0291 -0.1602)
OKLCHoklch(68.53% 0.163 259.7)
XYZxyz(33.1680, 31.7188, 97.2838)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98FD #FDBF5A
analogous
#5AE9FD #5A98FD #6E5AFD
triadic
#5A98FD #FD5A98 #98FD5A
tetradic
#5A98FD #FD5AE9 #FDBF5A #5AFD6E
square
#5A98FD #FD5AE9 #FDBF5A #5AFD6E
split-complementary
#5A98FD #FD6E5A #E9FD5A
monochromatic
#0355DA #1E72FC #5A98FD #96BEFE #D3E3FE

Accessibility & contrast

On white

2.86
#5A98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5A98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98FD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98FD#FFFFFF#000000##000000
##5A98FD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a98fd;
/* rgb */ color: rgb(90, 152, 253);
/* oklch */ color: oklch(68.5% 0.163 259.7);
Tailwind
colors: {
  custom: {
    50: '#97b5fe',
    500: '#5a98fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a98fd;
$custom-light: #97b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98fd",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 217.178,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.16281,
    "h": 259.7
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#5A98FD
secondary
#F3E0C0
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5A98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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