#5B97F3#5B97F3

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

Color values

HEX#5B97F3
RGBrgb(91, 151, 243)
HSLhsl(216, 86%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(62.6%, 37.9%, 0%, 4.7%)
CIE-LABlab(62.36, 8.45, -51.94)
CIE-LCHlch(62.36, 52.62, 279.24°)
OKLaboklab(67.79% -0.0295 -0.1476)
OKLCHoklch(67.79% 0.151 258.7)
XYZxyz(31.5529, 30.8255, 89.0637)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97F3 #F3B75B
analogous
#5BE3F3 #5B97F3 #6B5BF3
triadic
#5B97F3 #F35B97 #97F35B
tetradic
#5B97F3 #F35BE3 #F3B75B #5BF36B
square
#5B97F3 #F35BE3 #F3B75B #5BF36B
split-complementary
#5B97F3 #F36B5B #E3F35B
monochromatic
#0E57C5 #2273EF #5B97F3 #94BBF7 #CDDFFB

Accessibility & contrast

On white

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

On black

7.17
#5B97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97F3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97F3#FFFFFF#000000##000000
##5B97F31.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.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: #5b97f3;
/* rgb */ color: rgb(91, 151, 243);
/* oklch */ color: oklch(67.8% 0.151 258.7);
Tailwind
colors: {
  custom: {
    50: '#96b5f7',
    500: '#5b97f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b97f3;
$custom-light: #96b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97f3",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 216.316,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.15052,
    "h": 258.7
  },
  "luminance": 0.30828
}

Semantic roles & 50–950 ramp

primary
#5B97F3
secondary
#EEDABB
accent
#8A03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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