#5A97FD#5A97FD

#5A97FD is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.164 H 260.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5A97FD
RGBrgb(90, 151, 253)
HSLhsl(218, 98%, 67%)
HSVhsv(218, 64%, 99%)
CMYKcmyk(64.4%, 40.3%, 0%, 0.8%)
CIE-LABlab(62.84, 11.62, -56.66)
CIE-LCHlch(62.84, 57.84, 281.59°)
OKLaboklab(68.32% -0.0282 -0.1614)
OKLCHoklch(68.32% 0.164 260.1)
XYZxyz(33.0064, 31.3955, 97.2300)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97FD #FDC05A
analogous
#5AE9FD #5A97FD #6F5AFD
triadic
#5A97FD #FD5A97 #97FD5A
tetradic
#5A97FD #FD5AE9 #FDC05A #5AFD6F
square
#5A97FD #FD5AE9 #FDC05A #5AFD6F
split-complementary
#5A97FD #FD6F5A #E9FD5A
monochromatic
#0353DA #1E71FC #5A97FD #96BDFE #D3E3FE

Accessibility & contrast

On white

2.88
#5A97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5A97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97FD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97FD#FFFFFF#000000##000000
##5A97FD1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5a97fd;
/* rgb */ color: rgb(90, 151, 253);
/* oklch */ color: oklch(68.3% 0.164 260.1);
Tailwind
colors: {
  custom: {
    50: '#97b5fe',
    500: '#5a97fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a97fd;
$custom-light: #97b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97fd",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 217.546,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68317,
    "c": 0.16389,
    "h": 260.1
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#5A97FD
secondary
#F3E0C0
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5A97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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