#5B9CFA#5B9CFA

#5B9CFA is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.2% C 0.154 H 257.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5B9CFA
RGBrgb(91, 156, 250)
HSLhsl(215, 94%, 67%)
HSVhsv(215, 64%, 98%)
CMYKcmyk(63.6%, 37.6%, 0%, 2%)
CIE-LABlab(64.08, 7.85, -53.05)
CIE-LCHlch(64.08, 53.63, 278.41°)
OKLaboklab(69.24% -0.0329 -0.1508)
OKLCHoklch(69.24% 0.154 257.7)
XYZxyz(33.4520, 32.9000, 95.0114)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9CFA #FAB95B
analogous
#5BEBFA #5B9CFA #6A5BFA
triadic
#5B9CFA #FA5B9C #9CFA5B
tetradic
#5B9CFA #FA5BEB #FAB95B #5BFA6A
square
#5B9CFA #FA5BEB #FAB95B #5BFA6A
split-complementary
#5B9CFA #FA6A5B #EBFA5B
monochromatic
#065BD4 #2078F8 #5B9CFA #96C0FC #D2E4FE

Accessibility & contrast

On white

2.77
#5B9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#5B9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B9CFA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9CFA#FFFFFF#000000##000000
##5B9CFA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FE
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#00B1BF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5b9cfa;
/* rgb */ color: rgb(91, 156, 250);
/* oklch */ color: oklch(69.2% 0.154 257.7);
Tailwind
colors: {
  custom: {
    50: '#97b8fc',
    500: '#5b9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #5b9cfa;
$custom-light: #97b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9cfa",
  "rgb": {
    "r": 91,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 215.472,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69239,
    "c": 0.15433,
    "h": 257.7
  },
  "luminance": 0.32903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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