#508DB2#508DB2

#508DB2 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.7% C 0.085 H 237.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#508DB2
RGBrgb(80, 141, 178)
HSLhsl(203, 39%, 51%)
HSVhsv(203, 55%, 70%)
CMYKcmyk(55.1%, 20.8%, 0%, 30.2%)
CIE-LABlab(56.06, -8.96, -25.44)
CIE-LCHlch(56.06, 26.97, 250.61°)
OKLaboklab(61.73% -0.0462 -0.071)
OKLCHoklch(61.73% 0.085 237)
XYZxyz(20.8661, 23.9678, 45.6375)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DB2 #B27550
analogous
#50B2A6 #508DB2 #505CB2
triadic
#508DB2 #B2508D #8DB250
tetradic
#508DB2 #A650B2 #B27550 #5CB250
square
#508DB2 #A650B2 #B27550 #5CB250
split-complementary
#508DB2 #B2505C #B2A650
monochromatic
#294A5E #3C6C89 #508DB2 #7AA9C5 #A5C4D7

Accessibility & contrast

On white

3.62
#508DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#508DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DB2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DB2#FFFFFF#000000##000000
##508DB21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#029799
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508db2;
/* rgb */ color: rgb(80, 141, 178);
/* oklch */ color: oklch(61.7% 0.085 237.0);
Tailwind
colors: {
  custom: {
    50: '#88aec9',
    500: '#508db2',
    950: '#000000',
  },
}
SCSS
$custom: #508db2;
$custom-light: #88aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#508db2",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 202.653,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.08468,
    "h": 237
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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