#507FB7#507FB7

#507FB7 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.101 H 253.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507FB7
RGBrgb(80, 127, 183)
HSLhsl(213, 42%, 52%)
HSVhsv(213, 56%, 72%)
CMYKcmyk(56.3%, 30.6%, 0%, 28.2%)
CIE-LABlab(52.18, 0.74, -34.34)
CIE-LCHlch(52.18, 34.34, 271.23°)
OKLaboklab(58.74% -0.0283 -0.0967)
OKLCHoklch(58.74% 0.101 253.7)
XYZxyz(19.4419, 20.3015, 47.6846)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FB7 #B78850
analogous
#50B3B7 #507FB7 #5550B7
triadic
#507FB7 #B7507F #7FB750
tetradic
#507FB7 #B750B3 #B78850 #50B755
square
#507FB7 #B750B3 #B78850 #50B755
split-complementary
#507FB7 #B75550 #B3B750
monochromatic
#294464 #3B618F #507FB7 #7B9FC9 #A7BEDB

Accessibility & contrast

On white

4.15
#507FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#507FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FB7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FB7#FFFFFF#000000##000000
##507FB71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B9
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507fb7;
/* rgb */ color: rgb(80, 127, 183);
/* oklch */ color: oklch(58.7% 0.101 253.7);
Tailwind
colors: {
  custom: {
    50: '#89a3cd',
    500: '#507fb7',
    950: '#000000',
  },
}
SCSS
$custom: #507fb7;
$custom-light: #89a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#507fb7",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 212.621,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.10072,
    "h": 253.7
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#507FB7
secondary
#C8B39B
accent
#9956D2
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #507FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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