#507FC2#507FC2

#507FC2 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.3% C 0.115 H 257.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#507FC2
RGBrgb(80, 127, 194)
HSLhsl(215, 48%, 54%)
HSVhsv(215, 59%, 76%)
CMYKcmyk(58.8%, 34.5%, 0%, 23.9%)
CIE-LABlab(52.71, 4.35, -39.81)
CIE-LCHlch(52.71, 40.04, 276.24°)
OKLaboklab(59.33% -0.0253 -0.1126)
OKLCHoklch(59.33% 0.115 257.3)
XYZxyz(20.6318, 20.7775, 53.9517)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FC2 #C29350
analogous
#50B8C2 #507FC2 #5A50C2
triadic
#507FC2 #C2507F #7FC250
tetradic
#507FC2 #C250B8 #C29350 #50C25A
square
#507FC2 #C250B8 #C29350 #50C25A
split-complementary
#507FC2 #C25A50 #B8C250
monochromatic
#274570 #37619E #507FC2 #7DA0D2 #ABC1E2

Accessibility & contrast

On white

4.07
#507FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#507FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FC2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FC2#FFFFFF#000000##000000
##507FC21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507fc2;
/* rgb */ color: rgb(80, 127, 194);
/* oklch */ color: oklch(59.3% 0.115 257.3);
Tailwind
colors: {
  custom: {
    50: '#8aa3d5',
    500: '#507fc2',
    950: '#000000',
  },
}
SCSS
$custom: #507fc2;
$custom-light: #8aa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507fc2",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 215.263,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.11537,
    "h": 257.3
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#507FC2
secondary
#CFBB9F
accent
#A050D8
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #507FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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