#5A98FF#5A98FF

#5A98FF is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.6% C 0.165 H 260.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5A98FF
RGBrgb(90, 152, 255)
HSLhsl(217, 100%, 68%)
HSVhsv(217, 65%, 100%)
CMYKcmyk(64.7%, 40.4%, 0%, 0%)
CIE-LABlab(63.22, 11.70, -57.16)
CIE-LCHlch(63.22, 58.34, 281.57°)
OKLaboklab(68.64% -0.0287 -0.1629)
OKLCHoklch(68.64% 0.165 260)
XYZxyz(33.4883, 31.8469, 98.9706)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98FF #FFC15A
analogous
#5AEAFF #5A98FF #6F5AFF
triadic
#5A98FF #FF5A98 #98FF5A
tetradic
#5A98FF #FF5AEA #FFC15A #5AFF6F
square
#5A98FF #FF5AEA #FFC15A #5AFF6F
split-complementary
#5A98FF #FF6F5A #EAFF5A
monochromatic
#0054DF #1D72FF #5A98FF #97BEFF #D4E4FF

Accessibility & contrast

On white

2.85
#5A98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5A98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98FF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98FF#FFFFFF#000000##000000
##5A98FF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5092FD
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a98ff;
/* rgb */ color: rgb(90, 152, 255);
/* oklch */ color: oklch(68.6% 0.165 260.0);
Tailwind
colors: {
  custom: {
    50: '#98b5ff',
    500: '#5a98ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a98ff;
$custom-light: #98b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98ff",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 217.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.16541,
    "h": 260
  },
  "luminance": 0.3185
}

Semantic roles & 50–950 ramp

primary
#5A98FF
secondary
#F4E1C1
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5A98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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