#508BB2#508BB2

#508BB2 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.3% C 0.086 H 239.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#508BB2
RGBrgb(80, 139, 178)
HSLhsl(204, 39%, 51%)
HSVhsv(204, 55%, 70%)
CMYKcmyk(55.1%, 21.9%, 0%, 30.2%)
CIE-LABlab(55.47, -7.83, -26.35)
CIE-LCHlch(55.47, 27.49, 253.46°)
OKLaboklab(61.26% -0.0438 -0.0736)
OKLCHoklch(61.26% 0.086 239.2)
XYZxyz(20.5738, 23.3833, 45.5401)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BB2 #B27750
analogous
#50B2A8 #508BB2 #505AB2
triadic
#508BB2 #B2508B #8BB250
tetradic
#508BB2 #A850B2 #B27750 #5AB250
square
#508BB2 #A850B2 #B27750 #5AB250
split-complementary
#508BB2 #B2505A #B2A850
monochromatic
#29495E #3C6A89 #508BB2 #7AA7C5 #A5C3D7

Accessibility & contrast

On white

3.70
#508BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#508BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BB2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BB2#FFFFFF#000000##000000
##508BB21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#049598
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #508bb2;
/* rgb */ color: rgb(80, 139, 178);
/* oklch */ color: oklch(61.3% 0.086 239.2);
Tailwind
colors: {
  custom: {
    50: '#88acc9',
    500: '#508bb2',
    950: '#000000',
  },
}
SCSS
$custom: #508bb2;
$custom-light: #88acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#508bb2",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 203.878,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.08566,
    "h": 239.2
  },
  "luminance": 0.23385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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