#508CB8#508CB8

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

Color values

HEX#508CB8
RGBrgb(80, 140, 184)
HSLhsl(205, 42%, 52%)
HSVhsv(205, 57%, 72%)
CMYKcmyk(56.5%, 23.9%, 0%, 27.8%)
CIE-LABlab(56.01, -6.51, -28.94)
CIE-LCHlch(56.01, 29.66, 257.32°)
OKLaboklab(61.77% -0.0429 -0.081)
OKLCHoklch(61.77% 0.092 242.1)
XYZxyz(21.3349, 23.9205, 48.8309)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB8 #B87C50
analogous
#50B8B0 #508CB8 #5058B8
triadic
#508CB8 #B8508C #8CB850
tetradic
#508CB8 #B050B8 #B87C50 #58B850
square
#508CB8 #B050B8 #B87C50 #58B850
split-complementary
#508CB8 #B85058 #B8B050
monochromatic
#294B65 #3B6C90 #508CB8 #7CA9CA #A7C5DB

Accessibility & contrast

On white

3.63
#508CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508CB8#FFFFFF#000000##000000
##508CB81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508cb8;
/* rgb */ color: rgb(80, 140, 184);
/* oklch */ color: oklch(61.8% 0.092 242.1);
Tailwind
colors: {
  custom: {
    50: '#89adcd',
    500: '#508cb8',
    950: '#000000',
  },
}
SCSS
$custom: #508cb8;
$custom-light: #89adcd;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb8",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 184
  },
  "hsl": {
    "h": 205.385,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.09167,
    "h": 242.1
  },
  "luminance": 0.23922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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