#5B82CD#5B82CD

#5B82CD is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.123 H 262.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5B82CD
RGBrgb(91, 130, 205)
HSLhsl(219, 53%, 58%)
HSVhsv(219, 56%, 80%)
CMYKcmyk(55.6%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.65, 8.44, -42.95)
CIE-LCHlch(54.65, 43.77, 281.12°)
OKLaboklab(61.17% -0.016 -0.1215)
OKLCHoklch(61.17% 0.123 262.5)
XYZxyz(23.3127, 22.5954, 60.8786)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82CD #CDA65B
analogous
#5BBBCD #5B82CD #6D5BCD
triadic
#5B82CD #CD5B82 #82CD5B
tetradic
#5B82CD #CD5BBB #CDA65B #5BCD6D
square
#5B82CD #CD5BBB #CDA65B #5BCD6D
split-complementary
#5B82CD #CD6D5B #BBCD5B
monochromatic
#294885 #3762B4 #5B82CD #8AA6DB #B9C9EA

Accessibility & contrast

On white

3.80
#5B82CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5B82CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82CD#FFFFFF#000000##000000
##5B82CD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#10939E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b82cd;
/* rgb */ color: rgb(91, 130, 205);
/* oklch */ color: oklch(61.2% 0.123 262.5);
Tailwind
colors: {
  custom: {
    50: '#91a6dc',
    500: '#5b82cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b82cd;
$custom-light: #91a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82cd",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 219.474,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.12258,
    "h": 262.5
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#5B82CD
secondary
#D9C9AB
accent
#AB4BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B82CD

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

Preview Lab → · Contrast checker → · Palette generator →

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