#508CB7#508CB7

#508CB7 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.7% C 0.091 H 241.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#508CB7
RGBrgb(80, 140, 183)
HSLhsl(205, 42%, 52%)
HSVhsv(205, 56%, 72%)
CMYKcmyk(56.3%, 23.5%, 0%, 28.2%)
CIE-LABlab(55.97, -6.83, -28.43)
CIE-LCHlch(55.97, 29.24, 256.50°)
OKLaboklab(61.72% -0.0433 -0.0795)
OKLCHoklch(61.72% 0.091 241.5)
XYZxyz(21.2305, 23.8787, 48.2808)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB7 #B77B50
analogous
#50B7AF #508CB7 #5059B7
triadic
#508CB7 #B7508C #8CB750
tetradic
#508CB7 #AF50B7 #B77B50 #59B750
square
#508CB7 #AF50B7 #B77B50 #59B750
split-complementary
#508CB7 #B75059 #B7AF50
monochromatic
#294B64 #3B6C8F #508CB7 #7BA8C9 #A7C5DB

Accessibility & contrast

On white

3.64
#508CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#508CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CB7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CB7#FFFFFF#000000##000000
##508CB71.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#6B81B6
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508cb7;
/* rgb */ color: rgb(80, 140, 183);
/* oklch */ color: oklch(61.7% 0.091 241.5);
Tailwind
colors: {
  custom: {
    50: '#89adcc',
    500: '#508cb7',
    950: '#000000',
  },
}
SCSS
$custom: #508cb7;
$custom-light: #89adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb7",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 205.049,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.09056,
    "h": 241.5
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#508CB7
secondary
#C8AE9B
accent
#8A56D2
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CB7

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

Preview Lab → · Contrast checker → · Palette generator →

#508CB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva