#5A97EF#5A97EF

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

Color values

HEX#5A97EF
RGBrgb(90, 151, 239)
HSLhsl(215, 82%, 65%)
HSVhsv(215, 62%, 94%)
CMYKcmyk(62.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.11, 6.95, -50.13)
CIE-LCHlch(62.11, 50.61, 277.89°)
OKLaboklab(67.52% -0.0312 -0.1423)
OKLCHoklch(67.52% 0.146 257.6)
XYZxyz(30.8575, 30.5360, 85.9125)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97EF #EFB25A
analogous
#5AE2EF #5A97EF #685AEF
triadic
#5A97EF #EF5A97 #97EF5A
tetradic
#5A97EF #EF5AE2 #EFB25A #5AEF68
square
#5A97EF #EF5AE2 #EFB25A #5AEF68
split-complementary
#5A97EF #EF685A #E2EF5A
monochromatic
#1258BC #2274EA #5A97EF #92BAF4 #CADDFA

Accessibility & contrast

On white

2.95
#5A97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5A97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97EF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97EF#FFFFFF#000000##000000
##5A97EF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a97ef;
/* rgb */ color: rgb(90, 151, 239);
/* oklch */ color: oklch(67.5% 0.146 257.6);
Tailwind
colors: {
  custom: {
    50: '#95b5f4',
    500: '#5a97ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a97ef;
$custom-light: #95b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97ef",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 215.436,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.1457,
    "h": 257.6
  },
  "luminance": 0.30539
}

Semantic roles & 50–950 ramp

primary
#5A97EF
secondary
#ECD7B9
accent
#8607DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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