#5C7BBE#5C7BBE

#5C7BBE is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.9% C 0.109 H 264.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5C7BBE
RGBrgb(92, 123, 190)
HSLhsl(221, 43%, 55%)
HSVhsv(221, 52%, 75%)
CMYKcmyk(51.6%, 35.3%, 0%, 25.5%)
CIE-LABlab(52.01, 8.08, -38.56)
CIE-LCHlch(52.01, 39.40, 281.84°)
OKLaboklab(58.9% -0.0106 -0.1088)
OKLCHoklch(58.9% 0.109 264.4)
XYZxyz(20.7878, 20.1575, 51.5006)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BBE #BE9F5C
analogous
#5CACBE #5C7BBE #6E5CBE
triadic
#5C7BBE #BE5C7B #7BBE5C
tetradic
#5C7BBE #BE5CAC #BE9F5C #5CBE6E
square
#5C7BBE #BE5CAC #BE9F5C #5CBE6E
split-complementary
#5C7BBE #BE6E5C #ACBE5C
monochromatic
#2E4372 #3F5D9E #5C7BBE #889ECF #B4C2E1

Accessibility & contrast

On white

4.17
#5C7BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5C7BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BBE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BBE#FFFFFF#000000##000000
##5C7BBE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#2E8993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c7bbe;
/* rgb */ color: rgb(92, 123, 190);
/* oklch */ color: oklch(58.9% 0.109 264.4);
Tailwind
colors: {
  custom: {
    50: '#90a0d2',
    500: '#5c7bbe',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bbe;
$custom-light: #90a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bbe",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 221.02,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.10928,
    "h": 264.4
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#5C7BBE
secondary
#CFC2A6
accent
#AB55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5C7BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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