#508EB7#508EB7

#508EB7 is a light, moderate cyan. Relative luminance 0.245; OKLCH L 62.2% C 0.089 H 239.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#508EB7
RGBrgb(80, 142, 183)
HSLhsl(204, 42%, 52%)
HSVhsv(204, 56%, 72%)
CMYKcmyk(56.3%, 22.4%, 0%, 28.2%)
CIE-LABlab(56.55, -7.96, -27.52)
CIE-LCHlch(56.55, 28.65, 253.87°)
OKLaboklab(62.19% -0.0456 -0.0769)
OKLCHoklch(62.19% 0.089 239.4)
XYZxyz(21.5254, 24.4685, 48.3791)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EB7 #B77950
analogous
#50B7AC #508EB7 #505BB7
triadic
#508EB7 #B7508E #8EB750
tetradic
#508EB7 #AC50B7 #B77950 #5BB750
square
#508EB7 #AC50B7 #B77950 #5BB750
split-complementary
#508EB7 #B7505B #B7AC50
monochromatic
#294C64 #3B6D8F #508EB7 #7BAAC9 #A7C6DB

Accessibility & contrast

On white

3.56
#508EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#508EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EB7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EB7#FFFFFF#000000##000000
##508EB71.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8EB9
Deuteranopia (green-blind)
#6D83B6
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #508eb7;
/* rgb */ color: rgb(80, 142, 183);
/* oklch */ color: oklch(62.2% 0.089 239.4);
Tailwind
colors: {
  custom: {
    50: '#89afcc',
    500: '#508eb7',
    950: '#000000',
  },
}
SCSS
$custom: #508eb7;
$custom-light: #89afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#508eb7",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 203.883,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.08941,
    "h": 239.4
  },
  "luminance": 0.2447
}

Semantic roles & 50–950 ramp

primary
#508EB7
secondary
#C8AD9B
accent
#8756D2
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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