#5B7FC7#5B7FC7

#5B7FC7 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.2% C 0.118 H 263.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5B7FC7
RGBrgb(91, 127, 199)
HSLhsl(220, 49%, 57%)
HSVhsv(220, 54%, 78%)
CMYKcmyk(54.3%, 36.2%, 0%, 22%)
CIE-LABlab(53.52, 8.31, -41.33)
CIE-LCHlch(53.52, 42.16, 281.37°)
OKLaboklab(60.19% -0.014 -0.1168)
OKLCHoklch(60.19% 0.118 263.2)
XYZxyz(22.2091, 21.5247, 57.0061)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FC7 #C7A35B
analogous
#5BB5C7 #5B7FC7 #6D5BC7
triadic
#5B7FC7 #C75B7F #7FC75B
tetradic
#5B7FC7 #C75BB5 #C7A35B #5BC76D
square
#5B7FC7 #C75BB5 #C7A35B #5BC76D
split-complementary
#5B7FC7 #C76D5B #B5C75B
monochromatic
#2B467D #3A60AB #5B7FC7 #89A3D7 #B6C6E6

Accessibility & contrast

On white

3.96
#5B7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5B7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FC7#FFFFFF#000000##000000
##5B7FC71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CA
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#1E8F99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b7fc7;
/* rgb */ color: rgb(91, 127, 199);
/* oklch */ color: oklch(60.2% 0.118 263.2);
Tailwind
colors: {
  custom: {
    50: '#90a3d8',
    500: '#5b7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fc7;
$custom-light: #90a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fc7",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 220,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.11768,
    "h": 263.2
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#5B7FC7
secondary
#D5C6A9
accent
#AB4FD9
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5B7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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