#5B8FEC#5B8FEC

#5B8FEC is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.7% C 0.150 H 261.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5B8FEC
RGBrgb(91, 143, 236)
HSLhsl(218, 79%, 64%)
HSVhsv(218, 61%, 93%)
CMYKcmyk(61.4%, 39.4%, 0%, 7.5%)
CIE-LABlab(59.82, 10.85, -52.11)
CIE-LCHlch(59.82, 53.23, 281.76°)
OKLaboklab(65.7% -0.023 -0.1482)
OKLCHoklch(65.7% 0.15 261.2)
XYZxyz(29.2719, 27.9225, 83.1876)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FEC #ECB85B
analogous
#5BD7EC #5B8FEC #705BEC
triadic
#5B8FEC #EC5B8F #8FEC5B
tetradic
#5B8FEC #EC5BD7 #ECB85B #5BEC70
square
#5B8FEC #EC5BD7 #ECB85B #5BEC70
split-complementary
#5B8FEC #EC705B #D7EC5B
monochromatic
#154FB7 #246AE6 #5B8FEC #92B4F2 #C9DAF9

Accessibility & contrast

On white

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

On black

6.58
#5B8FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FEC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FEC#FFFFFF#000000##000000
##5B8FEC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b8fec;
/* rgb */ color: rgb(91, 143, 236);
/* oklch */ color: oklch(65.7% 0.150 261.2);
Tailwind
colors: {
  custom: {
    50: '#95aff2',
    500: '#5b8fec',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fec;
$custom-light: #95aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fec",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 218.483,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65697,
    "c": 0.14997,
    "h": 261.2
  },
  "luminance": 0.27925
}

Semantic roles & 50–950 ramp

primary
#5B8FEC
secondary
#EBD9B8
accent
#900ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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