#5B8BEA#5B8BEA

#5B8BEA is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.7% C 0.152 H 262.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5B8BEA
RGBrgb(91, 139, 234)
HSLhsl(220, 77%, 64%)
HSVhsv(220, 61%, 92%)
CMYKcmyk(61.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(58.63, 12.57, -52.90)
CIE-LCHlch(58.63, 54.37, 283.37°)
OKLaboklab(64.74% -0.0193 -0.1505)
OKLCHoklch(64.74% 0.152 262.7)
XYZxyz(28.3931, 26.6274, 81.4693)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BEA #EABA5B
analogous
#5BD2EA #5B8BEA #725BEA
triadic
#5B8BEA #EA5B8B #8BEA5B
tetradic
#5B8BEA #EA5BD2 #EABA5B #5BEA72
square
#5B8BEA #EA5BD2 #EABA5B #5BEA72
split-complementary
#5B8BEA #EA725B #D2EA5B
monochromatic
#174CB4 #2565E3 #5B8BEA #91B1F1 #C8D8F8

Accessibility & contrast

On white

3.32
#5B8BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5B8BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BEA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BEA#FFFFFF#000000##000000
##5B8BEA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b8bea;
/* rgb */ color: rgb(91, 139, 234);
/* oklch */ color: oklch(64.7% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#95acf1',
    500: '#5b8bea',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bea;
$custom-light: #95acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bea",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 219.86,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.15179,
    "h": 262.7
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#5B8BEA
secondary
#EAD9B7
accent
#950CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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