#507EB2#507EB2

#507EB2 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.095 H 252.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#507EB2
RGBrgb(80, 126, 178)
HSLhsl(212, 39%, 51%)
HSVhsv(212, 55%, 70%)
CMYKcmyk(55.1%, 29.2%, 0%, 30.2%)
CIE-LABlab(51.66, -0.28, -32.27)
CIE-LCHlch(51.66, 32.27, 269.50°)
OKLaboklab(58.26% -0.0287 -0.0907)
OKLCHoklch(58.26% 0.095 252.5)
XYZxyz(18.8022, 19.8400, 44.9495)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EB2 #B28450
analogous
#50AFB2 #507EB2 #5350B2
triadic
#507EB2 #B2507E #7EB250
tetradic
#507EB2 #B250AF #B28450 #50B253
square
#507EB2 #B250AF #B28450 #50B253
split-complementary
#507EB2 #B25350 #AFB250
monochromatic
#29425E #3C6089 #507EB2 #7A9DC5 #A5BDD7

Accessibility & contrast

On white

4.23
#507EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##507EB2#FFFFFF#000000##000000
##507EB21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#108A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507eb2;
/* rgb */ color: rgb(80, 126, 178);
/* oklch */ color: oklch(58.3% 0.095 252.5);
Tailwind
colors: {
  custom: {
    50: '#88a3c9',
    500: '#507eb2',
    950: '#000000',
  },
}
SCSS
$custom: #507eb2;
$custom-light: #88a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#507eb2",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 211.837,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.09511,
    "h": 252.5
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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