#5A97F3#5A97F3

#5A97F3 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.151 H 258.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5A97F3
RGBrgb(90, 151, 243)
HSLhsl(216, 86%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63%, 37.9%, 0%, 4.7%)
CIE-LABlab(62.32, 8.28, -52.01)
CIE-LCHlch(62.32, 52.67, 279.04°)
OKLaboklab(67.74% -0.0303 -0.1478)
OKLCHoklch(67.74% 0.151 258.4)
XYZxyz(31.4550, 30.7750, 89.0591)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97F3 #F3B65A
analogous
#5AE4F3 #5A97F3 #695AF3
triadic
#5A97F3 #F35A97 #97F35A
tetradic
#5A97F3 #F35AE4 #F3B65A #5AF369
square
#5A97F3 #F35AE4 #F3B65A #5AF369
split-complementary
#5A97F3 #F3695A #E4F35A
monochromatic
#0E57C4 #2173EF #5A97F3 #93BBF7 #CCDFFB

Accessibility & contrast

On white

2.93
#5A97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5A97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97F3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97F3#FFFFFF#000000##000000
##5A97F31.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF7
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a97f3;
/* rgb */ color: rgb(90, 151, 243);
/* oklch */ color: oklch(67.7% 0.151 258.4);
Tailwind
colors: {
  custom: {
    50: '#96b5f7',
    500: '#5a97f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a97f3;
$custom-light: #96b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97f3",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 216.078,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67741,
    "c": 0.1509,
    "h": 258.4
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#5A97F3
secondary
#EEDABB
accent
#8903E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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