#507DB2#507DB2

#507DB2 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.096 H 253.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#507DB2
RGBrgb(80, 125, 178)
HSLhsl(212, 39%, 51%)
HSVhsv(212, 55%, 70%)
CMYKcmyk(55.1%, 29.8%, 0%, 30.2%)
CIE-LABlab(51.37, 0.31, -32.73)
CIE-LCHlch(51.37, 32.73, 270.54°)
OKLaboklab(58.03% -0.0275 -0.092)
OKLCHoklch(58.03% 0.096 253.4)
XYZxyz(18.6749, 19.5855, 44.9071)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DB2 #B28550
analogous
#50AEB2 #507DB2 #5450B2
triadic
#507DB2 #B2507D #7DB250
tetradic
#507DB2 #B250AE #B28550 #50B254
square
#507DB2 #B250AE #B28550 #50B254
split-complementary
#507DB2 #B25450 #AEB250
monochromatic
#29425E #3C5F89 #507DB2 #7A9DC5 #A5BCD7

Accessibility & contrast

On white

4.27
#507DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#507DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DB2#FFFFFF#000000##000000
##507DB21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#108990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #507db2;
/* rgb */ color: rgb(80, 125, 178);
/* oklch */ color: oklch(58.0% 0.096 253.4);
Tailwind
colors: {
  custom: {
    50: '#88a2c9',
    500: '#507db2',
    950: '#000000',
  },
}
SCSS
$custom: #507db2;
$custom-light: #88a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#507db2",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 212.449,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.09603,
    "h": 253.4
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#507DB2
secondary
#C5B199
accent
#9959CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #507DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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