#507FB5#507FB5

#507FB5 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.6% C 0.098 H 252.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#507FB5
RGBrgb(80, 127, 181)
HSLhsl(212, 41%, 51%)
HSVhsv(212, 56%, 71%)
CMYKcmyk(55.8%, 29.8%, 0%, 29%)
CIE-LABlab(52.08, 0.09, -33.33)
CIE-LCHlch(52.08, 33.33, 270.16°)
OKLaboklab(58.64% -0.0289 -0.0937)
OKLCHoklch(58.64% 0.098 252.9)
XYZxyz(19.2352, 20.2188, 46.5961)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FB5 #B58650
analogous
#50B1B5 #507FB5 #5350B5
triadic
#507FB5 #B5507F #7FB550
tetradic
#507FB5 #B550B1 #B58650 #50B553
square
#507FB5 #B550B1 #B58650 #50B553
split-complementary
#507FB5 #B55350 #B1B550
monochromatic
#294361 #3B618C #507FB5 #7B9EC7 #A6BED9

Accessibility & contrast

On white

4.16
#507FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#507FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FB5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FB5#FFFFFF#000000##000000
##507FB51.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B7
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#068B92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507fb5;
/* rgb */ color: rgb(80, 127, 181);
/* oklch */ color: oklch(58.6% 0.098 252.9);
Tailwind
colors: {
  custom: {
    50: '#88a3cb',
    500: '#507fb5',
    950: '#000000',
  },
}
SCSS
$custom: #507fb5;
$custom-light: #88a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#507fb5",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 212.079,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.09811,
    "h": 252.9
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#507FB5
secondary
#C7B29A
accent
#9857D0
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #507FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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