#5B8FE3#5B8FE3

#5B8FE3 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.2% C 0.138 H 259.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5B8FE3
RGBrgb(91, 143, 227)
HSLhsl(217, 71%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(59.9%, 37%, 0%, 11%)
CIE-LABlab(59.35, 7.88, -47.86)
CIE-LCHlch(59.35, 48.50, 279.35°)
OKLaboklab(65.19% -0.025 -0.1357)
OKLCHoklch(65.19% 0.138 259.6)
XYZxyz(27.9971, 27.4126, 76.4739)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FE3 #E3AF5B
analogous
#5BD3E3 #5B8FE3 #6B5BE3
triadic
#5B8FE3 #E35B8F #8FE35B
tetradic
#5B8FE3 #E35BD3 #E3AF5B #5BE36B
square
#5B8FE3 #E35BD3 #E3AF5B #5BE36B
split-complementary
#5B8FE3 #E36B5B #D3E35B
monochromatic
#1D51A7 #276BDA #5B8FE3 #8FB3EC #C4D6F5

Accessibility & contrast

On white

3.24
#5B8FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5B8FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FE3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FE3#FFFFFF#000000##000000
##5B8FE31.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E6
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8fe3;
/* rgb */ color: rgb(91, 143, 227);
/* oklch */ color: oklch(65.2% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#94afec',
    500: '#5b8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fe3;
$custom-light: #94afec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fe3",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 217.059,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65185,
    "c": 0.13802,
    "h": 259.6
  },
  "luminance": 0.27415
}

Semantic roles & 50–950 ramp

primary
#5B8FE3
secondary
#E6D3B4
accent
#8913D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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