#5A97EE#5A97EE

#5A97EE is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.144 H 257.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5A97EE
RGBrgb(90, 151, 238)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(62.2%, 36.6%, 0%, 6.7%)
CIE-LABlab(62.06, 6.62, -49.66)
CIE-LCHlch(62.06, 50.10, 277.59°)
OKLaboklab(67.46% -0.0314 -0.1409)
OKLCHoklch(67.46% 0.144 257.4)
XYZxyz(30.7102, 30.4771, 85.1366)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97EE #EEB15A
analogous
#5AE1EE #5A97EE #675AEE
triadic
#5A97EE #EE5A97 #97EE5A
tetradic
#5A97EE #EE5AE1 #EEB15A #5AEE67
square
#5A97EE #EE5AE1 #EEB15A #5AEE67
split-complementary
#5A97EE #EE675A #E1EE5A
monochromatic
#1358BA #2374E8 #5A97EE #91BAF4 #C9DDF9

Accessibility & contrast

On white

2.96
#5A97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5A97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97EE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97EE#FFFFFF#000000##000000
##5A97EE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF2
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a97ee;
/* rgb */ color: rgb(90, 151, 238);
/* oklch */ color: oklch(67.5% 0.144 257.4);
Tailwind
colors: {
  custom: {
    50: '#95b5f4',
    500: '#5a97ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a97ee;
$custom-light: #95b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97ee",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 215.27,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.14441,
    "h": 257.4
  },
  "luminance": 0.3048
}

Semantic roles & 50–950 ramp

primary
#5A97EE
secondary
#ECD6B8
accent
#8608DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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