#507FB2#507FB2

#507FB2 is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.094 H 251.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#507FB2
RGBrgb(80, 127, 178)
HSLhsl(211, 39%, 51%)
HSVhsv(211, 55%, 70%)
CMYKcmyk(55.1%, 28.7%, 0%, 30.2%)
CIE-LABlab(51.95, -0.88, -31.82)
CIE-LCHlch(51.95, 31.83, 268.42°)
OKLaboklab(58.49% -0.0298 -0.0894)
OKLCHoklch(58.49% 0.094 251.5)
XYZxyz(18.9307, 20.0970, 44.9924)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FB2 #B28350
analogous
#50B0B2 #507FB2 #5250B2
triadic
#507FB2 #B2507F #7FB250
tetradic
#507FB2 #B250B0 #B28350 #50B252
square
#507FB2 #B250B0 #B28350 #50B252
split-complementary
#507FB2 #B25250 #B0B250
monochromatic
#29435E #3C6189 #507FB2 #7A9EC5 #A5BDD7

Accessibility & contrast

On white

4.18
#507FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#507FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FB2#FFFFFF#000000##000000
##507FB21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5D78B1
Tritanopia (blue-blind)
#0F8B91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507fb2;
/* rgb */ color: rgb(80, 127, 178);
/* oklch */ color: oklch(58.5% 0.094 251.5);
Tailwind
colors: {
  custom: {
    50: '#88a3c9',
    500: '#507fb2',
    950: '#000000',
  },
}
SCSS
$custom: #507fb2;
$custom-light: #88a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#507fb2",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 211.224,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.09422,
    "h": 251.5
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

primary
#507FB2
secondary
#C5B099
accent
#9659CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #507FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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