#5C7DBA#5C7DBA

#5C7DBA is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.101 H 262.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5C7DBA
RGBrgb(92, 125, 186)
HSLhsl(219, 41%, 55%)
HSVhsv(219, 51%, 73%)
CMYKcmyk(50.5%, 32.8%, 0%, 27.1%)
CIE-LABlab(52.38, 5.62, -35.69)
CIE-LCHlch(52.38, 36.13, 278.95°)
OKLaboklab(59.12% -0.014 -0.1004)
OKLCHoklch(59.12% 0.101 262)
XYZxyz(20.6072, 20.4863, 49.3132)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DBA #BA995C
analogous
#5CACBA #5C7DBA #6A5CBA
triadic
#5C7DBA #BA5C7D #7DBA5C
tetradic
#5C7DBA #BA5CAC #BA995C #5CBA6A
square
#5C7DBA #BA5CAC #BA995C #5CBA6A
split-complementary
#5C7DBA #BA6A5C #ACBA5C
monochromatic
#2E446D #405F98 #5C7DBA #879FCC #B2C2DE

Accessibility & contrast

On white

4.12
#5C7DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5C7DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DBA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DBA#FFFFFF#000000##000000
##5C7DBA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BD
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#318A93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c7dba;
/* rgb */ color: rgb(92, 125, 186);
/* oklch */ color: oklch(59.1% 0.101 262.0);
Tailwind
colors: {
  custom: {
    50: '#90a2cf',
    500: '#5c7dba',
    950: '#000000',
  },
}
SCSS
$custom: #5c7dba;
$custom-light: #90a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7dba",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 218.936,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.10139,
    "h": 262
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#5C7DBA
secondary
#CDBFA5
accent
#A657D0
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0F14
muted
#7E7E82

Preview Lab

Preview with #5C7DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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