#5B82CC#5B82CC

#5B82CC is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.1% C 0.121 H 262.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B82CC
RGBrgb(91, 130, 204)
HSLhsl(219, 53%, 58%)
HSVhsv(219, 55%, 80%)
CMYKcmyk(55.4%, 36.3%, 0%, 20%)
CIE-LABlab(54.60, 8.12, -42.46)
CIE-LCHlch(54.60, 43.23, 280.83°)
OKLaboklab(61.12% -0.0162 -0.1201)
OKLCHoklch(61.12% 0.121 262.3)
XYZxyz(23.1924, 22.5472, 60.2449)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82CC #CCA55B
analogous
#5BBACC #5B82CC #6C5BCC
triadic
#5B82CC #CC5B82 #82CC5B
tetradic
#5B82CC #CC5BBA #CCA55B #5BCC6C
square
#5B82CC #CC5BBA #CCA55B #5BCC6C
split-complementary
#5B82CC #CC6C5B #BACC5B
monochromatic
#294884 #3762B2 #5B82CC #8AA6DB #B8C9E9

Accessibility & contrast

On white

3.81
#5B82CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5B82CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82CC#FFFFFF#000000##000000
##5B82CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CF
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#12929D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b82cc;
/* rgb */ color: rgb(91, 130, 204);
/* oklch */ color: oklch(61.1% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#91a6dc',
    500: '#5b82cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b82cc;
$custom-light: #91a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82cc",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 219.292,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.1212,
    "h": 262.3
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#5B82CC
secondary
#D8C8AB
accent
#AA4CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B82CC

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

Preview Lab → · Contrast checker → · Palette generator →

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