#5B8CE9#5B8CE9

#5B8CE9 is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.9% C 0.149 H 262.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5B8CE9
RGBrgb(91, 140, 233)
HSLhsl(219, 76%, 64%)
HSVhsv(219, 61%, 91%)
CMYKcmyk(60.9%, 39.9%, 0%, 8.6%)
CIE-LABlab(58.85, 11.64, -52.00)
CIE-LCHlch(58.85, 53.29, 282.62°)
OKLaboklab(64.89% -0.0206 -0.1479)
OKLCHoklch(64.89% 0.149 262.1)
XYZxyz(28.3953, 26.8610, 80.7633)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CE9 #E9B85B
analogous
#5BD3E9 #5B8CE9 #715BE9
triadic
#5B8CE9 #E95B8C #8CE95B
tetradic
#5B8CE9 #E95BD3 #E9B85B #5BE971
square
#5B8CE9 #E95BD3 #E9B85B #5BE971
split-complementary
#5B8CE9 #E9715B #D3E95B
monochromatic
#184DB2 #2566E2 #5B8CE9 #91B2F0 #C7D8F7

Accessibility & contrast

On white

3.30
#5B8CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5B8CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CE9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CE9#FFFFFF#000000##000000
##5B8CE91.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#4F88E7
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8ce9;
/* rgb */ color: rgb(91, 140, 233);
/* oklch */ color: oklch(64.9% 0.149 262.1);
Tailwind
colors: {
  custom: {
    50: '#95adf0',
    500: '#5b8ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ce9;
$custom-light: #95adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ce9",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 219.296,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.14932,
    "h": 262.1
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#5B8CE9
secondary
#E9D8B7
accent
#920DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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