#5B8FEF#5B8FEF

#5B8FEF is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.9% C 0.154 H 261.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8FEF
RGBrgb(91, 143, 239)
HSLhsl(219, 82%, 65%)
HSVhsv(219, 62%, 94%)
CMYKcmyk(61.9%, 40.2%, 0%, 6.3%)
CIE-LABlab(59.98, 11.85, -53.52)
CIE-LCHlch(59.98, 54.82, 282.48°)
OKLaboklab(65.87% -0.0224 -0.1523)
OKLCHoklch(65.87% 0.154 261.6)
XYZxyz(29.7114, 28.0984, 85.5024)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FEF #EFBB5B
analogous
#5BD9EF #5B8FEF #715BEF
triadic
#5B8FEF #EF5B8F #8FEF5B
tetradic
#5B8FEF #EF5BD9 #EFBB5B #5BEF71
square
#5B8FEF #EF5BD9 #EFBB5B #5BEF71
split-complementary
#5B8FEF #EF715B #D9EF5B
monochromatic
#124EBD #2369EA #5B8FEF #93B5F4 #CBDBFA

Accessibility & contrast

On white

3.17
#5B8FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5B8FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FEF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FEF#FFFFFF#000000##000000
##5B8FEF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b8fef;
/* rgb */ color: rgb(91, 143, 239);
/* oklch */ color: oklch(65.9% 0.154 261.6);
Tailwind
colors: {
  custom: {
    50: '#96aff5',
    500: '#5b8fef',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fef;
$custom-light: #96aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fef",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 218.919,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.15396,
    "h": 261.6
  },
  "luminance": 0.28101
}

Semantic roles & 50–950 ramp

primary
#5B8FEF
secondary
#ECDABA
accent
#9307DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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