#508CB1#508CB1

#508CB1 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.4% C 0.084 H 237.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#508CB1
RGBrgb(80, 140, 177)
HSLhsl(203, 38%, 50%)
HSVhsv(203, 55%, 69%)
CMYKcmyk(54.8%, 20.9%, 0%, 30.6%)
CIE-LABlab(55.72, -8.70, -25.39)
CIE-LCHlch(55.72, 26.84, 251.08°)
OKLaboklab(61.45% -0.0454 -0.0708)
OKLCHoklch(61.45% 0.084 237.4)
XYZxyz(20.6192, 23.6342, 45.0617)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB1 #B17550
analogous
#50B1A6 #508CB1 #505BB1
triadic
#508CB1 #B1508C #8CB150
tetradic
#508CB1 #A650B1 #B17550 #5BB150
square
#508CB1 #A650B1 #B17550 #5BB150
split-complementary
#508CB1 #B1505B #B1A650
monochromatic
#29495D #3C6B87 #508CB1 #7AA8C4 #A5C4D7

Accessibility & contrast

On white

3.67
#508CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#508CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CB1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CB1#FFFFFF#000000##000000
##508CB11.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB3
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#079598
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #508cb1;
/* rgb */ color: rgb(80, 140, 177);
/* oklch */ color: oklch(61.4% 0.084 237.4);
Tailwind
colors: {
  custom: {
    50: '#88adc8',
    500: '#508cb1',
    950: '#000000',
  },
}
SCSS
$custom: #508cb1;
$custom-light: #88adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb1",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 202.887,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.08411,
    "h": 237.4
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

primary
#508CB1
secondary
#C4A999
accent
#865ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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