#508CB2#508CB2

#508CB2 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.5% C 0.085 H 238.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#508CB2
RGBrgb(80, 140, 178)
HSLhsl(203, 39%, 51%)
HSVhsv(203, 55%, 70%)
CMYKcmyk(55.1%, 21.3%, 0%, 30.2%)
CIE-LABlab(55.76, -8.39, -25.90)
CIE-LCHlch(55.76, 27.22, 252.04°)
OKLaboklab(61.49% -0.045 -0.0723)
OKLCHoklch(61.49% 0.085 238.1)
XYZxyz(20.7193, 23.6742, 45.5886)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB2 #B27650
analogous
#50B2A7 #508CB2 #505BB2
triadic
#508CB2 #B2508C #8CB250
tetradic
#508CB2 #A750B2 #B27650 #5BB250
square
#508CB2 #A750B2 #B27650 #5BB250
split-complementary
#508CB2 #B2505B #B2A750
monochromatic
#294A5E #3C6B89 #508CB2 #7AA8C5 #A5C4D7

Accessibility & contrast

On white

3.66
#508CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#508CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CB2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CB2#FFFFFF#000000##000000
##508CB21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB4
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#039699
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508cb2;
/* rgb */ color: rgb(80, 140, 178);
/* oklch */ color: oklch(61.5% 0.085 238.1);
Tailwind
colors: {
  custom: {
    50: '#88adc9',
    500: '#508cb2',
    950: '#000000',
  },
}
SCSS
$custom: #508cb2;
$custom-light: #88adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb2",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 203.265,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.08516,
    "h": 238.1
  },
  "luminance": 0.23676
}

Semantic roles & 50–950 ramp

primary
#508CB2
secondary
#C5AA99
accent
#8759CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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