#5B7ECF#5B7ECF

#5B7ECF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.130 H 265.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B7ECF
RGBrgb(91, 126, 207)
HSLhsl(222, 55%, 58%)
HSVhsv(222, 56%, 81%)
CMYKcmyk(56%, 39.1%, 0%, 18.8%)
CIE-LABlab(53.65, 11.50, -45.67)
CIE-LCHlch(53.65, 47.09, 284.14°)
OKLaboklab(60.43% -0.0111 -0.1295)
OKLCHoklch(60.43% 0.13 265.1)
XYZxyz(23.0339, 21.6491, 61.9843)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ECF #CFAC5B
analogous
#5BB8CF #5B7ECF #725BCF
triadic
#5B7ECF #CF5B7E #7ECF5B
tetradic
#5B7ECF #CF5BB8 #CFAC5B #5BCF72
square
#5B7ECF #CF5BB8 #CFAC5B #5BCF72
split-complementary
#5B7ECF #CF725B #B8CF5B
monochromatic
#284588 #365DB7 #5B7ECF #8AA3DD #BAC8EB

Accessibility & contrast

On white

3.94
#5B7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5B7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7ECF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7ECF#FFFFFF#000000##000000
##5B7ECF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#0C909C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b7ecf;
/* rgb */ color: rgb(91, 126, 207);
/* oklch */ color: oklch(60.4% 0.130 265.1);
Tailwind
colors: {
  custom: {
    50: '#92a3de',
    500: '#5b7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ecf;
$custom-light: #92a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ecf",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 221.897,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.12997,
    "h": 265.1
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#5B7ECF
secondary
#DACCAC
accent
#B14ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5B7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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