#508AB2#508AB2

#508AB2 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.0% C 0.086 H 240.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#508AB2
RGBrgb(80, 138, 178)
HSLhsl(204, 39%, 51%)
HSVhsv(204, 55%, 70%)
CMYKcmyk(55.1%, 22.5%, 0%, 30.2%)
CIE-LABlab(55.17, -7.26, -26.81)
CIE-LCHlch(55.17, 27.77, 254.85°)
OKLaboklab(61.03% -0.0427 -0.0749)
OKLCHoklch(61.03% 0.086 240.3)
XYZxyz(20.4297, 23.0950, 45.4920)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AB2 #B27850
analogous
#50B2A9 #508AB2 #5059B2
triadic
#508AB2 #B2508A #8AB250
tetradic
#508AB2 #A950B2 #B27850 #59B250
square
#508AB2 #A950B2 #B27850 #59B250
split-complementary
#508AB2 #B25059 #B2A950
monochromatic
#29495E #3C6989 #508AB2 #7AA6C5 #A5C3D7

Accessibility & contrast

On white

3.74
#508AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#508AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AB2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AB2#FFFFFF#000000##000000
##508AB21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#059497
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #508ab2;
/* rgb */ color: rgb(80, 138, 178);
/* oklch */ color: oklch(61.0% 0.086 240.3);
Tailwind
colors: {
  custom: {
    50: '#88acc9',
    500: '#508ab2',
    950: '#000000',
  },
}
SCSS
$custom: #508ab2;
$custom-light: #88acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#508ab2",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 204.49,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.08621,
    "h": 240.3
  },
  "luminance": 0.23097
}

Semantic roles & 50–950 ramp

primary
#508AB2
secondary
#C5AB99
accent
#8959CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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