#5A97F0#5A97F0

#5A97F0 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.147 H 257.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5A97F0
RGBrgb(90, 151, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 63%, 94%)
CMYKcmyk(62.5%, 37.1%, 0%, 5.9%)
CIE-LABlab(62.16, 7.28, -50.60)
CIE-LCHlch(62.16, 51.12, 278.19°)
OKLaboklab(67.57% -0.031 -0.1437)
OKLCHoklch(67.57% 0.147 257.8)
XYZxyz(31.0056, 30.5952, 86.6927)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97F0 #F0B35A
analogous
#5AE2F0 #5A97F0 #685AF0
triadic
#5A97F0 #F05A97 #97F05A
tetradic
#5A97F0 #F05AE2 #F0B35A #5AF068
square
#5A97F0 #F05AE2 #F0B35A #5AF068
split-complementary
#5A97F0 #F0685A #E2F05A
monochromatic
#1158BE #2274EB #5A97F0 #92BAF5 #CADEFA

Accessibility & contrast

On white

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

On black

7.12
#5A97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97F0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97F0#FFFFFF#000000##000000
##5A97F01.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a97f0;
/* rgb */ color: rgb(90, 151, 240);
/* oklch */ color: oklch(67.6% 0.147 257.8);
Tailwind
colors: {
  custom: {
    50: '#95b5f5',
    500: '#5a97f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a97f0;
$custom-light: #95b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97f0",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 215.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67572,
    "c": 0.147,
    "h": 257.8
  },
  "luminance": 0.30598
}

Semantic roles & 50–950 ramp

primary
#5A97F0
secondary
#EDD8B9
accent
#8706E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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