#508AB5#508AB5

#508AB5 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.2% C 0.090 H 242.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#508AB5
RGBrgb(80, 138, 181)
HSLhsl(206, 41%, 51%)
HSVhsv(206, 56%, 71%)
CMYKcmyk(55.8%, 23.8%, 0%, 29%)
CIE-LABlab(55.30, -6.32, -28.33)
CIE-LCHlch(55.30, 29.03, 257.43°)
OKLaboklab(61.17% -0.0416 -0.0793)
OKLCHoklch(61.17% 0.09 242.3)
XYZxyz(20.7342, 23.2168, 47.0958)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AB5 #B57B50
analogous
#50B5AD #508AB5 #5057B5
triadic
#508AB5 #B5508A #8AB550
tetradic
#508AB5 #AD50B5 #B57B50 #57B550
square
#508AB5 #AD50B5 #B57B50 #57B550
split-complementary
#508AB5 #B55057 #B5AD50
monochromatic
#294961 #3B6A8C #508AB5 #7BA7C7 #A6C4D9

Accessibility & contrast

On white

3.72
#508AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#508AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AB5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AB5#FFFFFF#000000##000000
##508AB51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #508ab5;
/* rgb */ color: rgb(80, 138, 181);
/* oklch */ color: oklch(61.2% 0.090 242.3);
Tailwind
colors: {
  custom: {
    50: '#88accb',
    500: '#508ab5',
    950: '#000000',
  },
}
SCSS
$custom: #508ab5;
$custom-light: #88accb;
$custom-dark: #000000;
JSON
{
  "hex": "#508ab5",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 181
  },
  "hsl": {
    "h": 205.545,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.08955,
    "h": 242.3
  },
  "luminance": 0.23219
}

Semantic roles & 50–950 ramp

primary
#508AB5
secondary
#C7AD9A
accent
#8B57D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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