#5B9DFA#5B9DFA

#5B9DFA is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.5% C 0.153 H 257.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5B9DFA
RGBrgb(91, 157, 250)
HSLhsl(215, 94%, 67%)
HSVhsv(215, 64%, 98%)
CMYKcmyk(63.6%, 37.2%, 0%, 2%)
CIE-LABlab(64.35, 7.26, -52.62)
CIE-LCHlch(64.35, 53.12, 277.86°)
OKLaboklab(69.45% -0.0339 -0.1495)
OKLCHoklch(69.45% 0.153 257.2)
XYZxyz(33.6205, 33.2370, 95.0675)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9DFA #FAB85B
analogous
#5BEDFA #5B9DFA #695BFA
triadic
#5B9DFA #FA5B9D #9DFA5B
tetradic
#5B9DFA #FA5BED #FAB85B #5BFA69
square
#5B9DFA #FA5BED #FAB85B #5BFA69
split-complementary
#5B9DFA #FA695B #EDFA5B
monochromatic
#065CD4 #207AF8 #5B9DFA #96C0FC #D2E4FE

Accessibility & contrast

On white

2.75
#5B9DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5B9DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B9DFA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9DFA#FFFFFF#000000##000000
##5B9DFA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#00B2C0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5b9dfa;
/* rgb */ color: rgb(91, 157, 250);
/* oklch */ color: oklch(69.5% 0.153 257.2);
Tailwind
colors: {
  custom: {
    50: '#97b9fc',
    500: '#5b9dfa',
    950: '#000000',
  },
}
SCSS
$custom: #5b9dfa;
$custom-light: #97b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9dfa",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 215.094,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.1533,
    "h": 257.2
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#5B9DFA
secondary
#F2DDBF
accent
#8600E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5B9DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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