#507BAB#507BAB

#507BAB is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.089 H 252.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#507BAB
RGBrgb(80, 123, 171)
HSLhsl(212, 36%, 49%)
HSVhsv(212, 53%, 67%)
CMYKcmyk(53.2%, 28.1%, 0%, 32.9%)
CIE-LABlab(50.46, -0.75, -30.08)
CIE-LCHlch(50.46, 30.09, 268.58°)
OKLaboklab(57.22% -0.0273 -0.0844)
OKLCHoklch(57.22% 0.089 252.1)
XYZxyz(17.7393, 18.8103, 41.2161)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BAB #AB8050
analogous
#50A9AB #507BAB #5250AB
triadic
#507BAB #AB507B #7BAB50
tetradic
#507BAB #AB50A9 #AB8050 #50AB52
square
#507BAB #AB50A9 #AB8050 #50AB52
split-complementary
#507BAB #AB5250 #A9AB50
monochromatic
#293F58 #3C5D81 #507BAB #789AC0 #A2B9D3

Accessibility & contrast

On white

4.41
#507BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#507BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BAB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BAB#FFFFFF#000000##000000
##507BAB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#1E868C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #507bab;
/* rgb */ color: rgb(80, 123, 171);
/* oklch */ color: oklch(57.2% 0.089 252.1);
Tailwind
colors: {
  custom: {
    50: '#87a1c4',
    500: '#507bab',
    950: '#000000',
  },
}
SCSS
$custom: #507bab;
$custom-light: #87a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#507bab",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 211.648,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.08867,
    "h": 252.1
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#507BAB
secondary
#C1AD96
accent
#975CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #507BAB

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

Preview Lab → · Contrast checker → · Palette generator →

#507BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva