#5B8FEB#5B8FEB

#5B8FEB is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.6% C 0.149 H 261.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5B8FEB
RGBrgb(91, 143, 235)
HSLhsl(218, 78%, 64%)
HSVhsv(218, 61%, 92%)
CMYKcmyk(61.3%, 39.1%, 0%, 7.8%)
CIE-LABlab(59.77, 10.52, -51.64)
CIE-LCHlch(59.77, 52.70, 281.51°)
OKLaboklab(65.64% -0.0232 -0.1468)
OKLCHoklch(65.64% 0.149 261)
XYZxyz(29.1270, 27.8646, 82.4246)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FEB #EBB75B
analogous
#5BD7EB #5B8FEB #6F5BEB
triadic
#5B8FEB #EB5B8F #8FEB5B
tetradic
#5B8FEB #EB5BD7 #EBB75B #5BEB6F
square
#5B8FEB #EB5BD7 #EBB75B #5BEB6F
split-complementary
#5B8FEB #EB6F5B #D7EB5B
monochromatic
#1650B5 #246AE4 #5B8FEB #92B4F2 #C8DAF8

Accessibility & contrast

On white

3.19
#5B8FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5B8FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FEB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FEB#FFFFFF#000000##000000
##5B8FEB1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b8feb;
/* rgb */ color: rgb(91, 143, 235);
/* oklch */ color: oklch(65.6% 0.149 261.0);
Tailwind
colors: {
  custom: {
    50: '#95aff2',
    500: '#5b8feb',
    950: '#000000',
  },
}
SCSS
$custom: #5b8feb;
$custom-light: #95aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8feb",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 218.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.14864,
    "h": 261
  },
  "luminance": 0.27867
}

Semantic roles & 50–950 ramp

primary
#5B8FEB
secondary
#EAD8B8
accent
#900BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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