#507FAC#507FAC

#507FAC is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.087 H 248.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#507FAC
RGBrgb(80, 127, 172)
HSLhsl(209, 37%, 49%)
HSVhsv(209, 53%, 67%)
CMYKcmyk(53.5%, 26.2%, 0%, 32.5%)
CIE-LABlab(51.68, -2.79, -28.77)
CIE-LCHlch(51.68, 28.90, 264.46°)
OKLaboklab(58.19% -0.0317 -0.0806)
OKLCHoklch(58.19% 0.087 248.5)
XYZxyz(18.3414, 19.8613, 41.8888)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FAC #AC7D50
analogous
#50ACAB #507FAC #5051AC
triadic
#507FAC #AC507F #7FAC50
tetradic
#507FAC #AB50AC #AC7D50 #51AC50
square
#507FAC #AB50AC #AC7D50 #51AC50
split-complementary
#507FAC #AC5051 #ACAB50
monochromatic
#294158 #3D6082 #507FAC #799DC1 #A2BCD4

Accessibility & contrast

On white

4.22
#507FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#507FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FAC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FAC#FFFFFF#000000##000000
##507FAC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#1B898E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507fac;
/* rgb */ color: rgb(80, 127, 172);
/* oklch */ color: oklch(58.2% 0.087 248.5);
Tailwind
colors: {
  custom: {
    50: '#87a4c5',
    500: '#507fac',
    950: '#000000',
  },
}
SCSS
$custom: #507fac;
$custom-light: #87a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#507fac",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 209.348,
    "s": 36.508,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.08659,
    "h": 248.5
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

primary
#507FAC
secondary
#C1AB97
accent
#935BCD
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #507FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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