#507BAF#507BAF

#507BAF is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.4% C 0.094 H 253.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#507BAF
RGBrgb(80, 123, 175)
HSLhsl(213, 37%, 50%)
HSVhsv(213, 54%, 69%)
CMYKcmyk(54.3%, 29.7%, 0%, 31.4%)
CIE-LABlab(50.65, 0.53, -32.12)
CIE-LCHlch(50.65, 32.12, 270.95°)
OKLaboklab(57.42% -0.026 -0.0902)
OKLCHoklch(57.42% 0.094 253.9)
XYZxyz(18.1264, 18.9651, 43.2546)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BAF #AF8450
analogous
#50ABAF #507BAF #5450AF
triadic
#507BAF #AF507B #7BAF50
tetradic
#507BAF #AF50AB #AF8450 #50AF54
square
#507BAF #AF50AB #AF8450 #50AF54
split-complementary
#507BAF #AF5450 #ABAF50
monochromatic
#2A405B #3D5D85 #507BAF #7A9BC2 #A4BAD5

Accessibility & contrast

On white

4.38
#507BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#507BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BAF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BAF#FFFFFF#000000##000000
##507BAF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB1
Deuteranopia (green-blind)
#5A74AE
Tritanopia (blue-blind)
#18878D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #507baf;
/* rgb */ color: rgb(80, 123, 175);
/* oklch */ color: oklch(57.4% 0.094 253.9);
Tailwind
colors: {
  custom: {
    50: '#87a1c7',
    500: '#507baf',
    950: '#000000',
  },
}
SCSS
$custom: #507baf;
$custom-light: #87a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#507baf",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 212.842,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.5742,
    "c": 0.09393,
    "h": 253.9
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#507BAF
secondary
#C3AF98
accent
#995BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #507BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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