#5B8AEC#5B8AEC

#5B8AEC is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.156 H 263.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B8AEC
RGBrgb(91, 138, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 61%, 93%)
CMYKcmyk(61.4%, 41.5%, 0%, 7.5%)
CIE-LABlab(58.47, 13.83, -54.27)
CIE-LCHlch(58.47, 56.00, 284.30°)
OKLaboklab(64.65% -0.018 -0.1546)
OKLCHoklch(64.65% 0.156 263.4)
XYZxyz(28.5379, 26.4547, 82.9430)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AEC #ECBD5B
analogous
#5BD2EC #5B8AEC #755BEC
triadic
#5B8AEC #EC5B8A #8AEC5B
tetradic
#5B8AEC #EC5BD2 #ECBD5B #5BEC75
square
#5B8AEC #EC5BD2 #ECBD5B #5BEC75
split-complementary
#5B8AEC #EC755B #D2EC5B
monochromatic
#154AB7 #2463E6 #5B8AEC #92B1F2 #C9D8F9

Accessibility & contrast

On white

3.34
#5B8AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AEC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AEC#FFFFFF#000000##000000
##5B8AEC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#4986EA
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b8aec;
/* rgb */ color: rgb(91, 138, 236);
/* oklch */ color: oklch(64.7% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#95abf3',
    500: '#5b8aec',
    950: '#000000',
  },
}
SCSS
$custom: #5b8aec;
$custom-light: #95abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8aec",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 220.552,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.15561,
    "h": 263.4
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

primary
#5B8AEC
secondary
#EBDAB8
accent
#980ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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