#507BC2#507BC2

#507BC2 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.4% C 0.120 H 260.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#507BC2
RGBrgb(80, 123, 194)
HSLhsl(217, 48%, 54%)
HSVhsv(217, 59%, 76%)
CMYKcmyk(58.8%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.57, 6.76, -41.60)
CIE-LCHlch(51.57, 42.14, 279.24°)
OKLaboklab(58.44% -0.0209 -0.1178)
OKLCHoklch(58.44% 0.12 260)
XYZxyz(20.1254, 19.7647, 53.7829)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC2 #C29750
analogous
#50B4C2 #507BC2 #5E50C2
triadic
#507BC2 #C2507B #7BC250
tetradic
#507BC2 #C250B4 #C29750 #50C25E
square
#507BC2 #C250B4 #C29750 #50C25E
split-complementary
#507BC2 #C25E50 #B4C250
monochromatic
#274370 #375E9E #507BC2 #7D9DD2 #ABBFE2

Accessibility & contrast

On white

4.24
#507BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#507BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC2#FFFFFF#000000##000000
##507BC21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507bc2;
/* rgb */ color: rgb(80, 123, 194);
/* oklch */ color: oklch(58.4% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#8aa0d5',
    500: '#507bc2',
    950: '#000000',
  },
}
SCSS
$custom: #507bc2;
$custom-light: #8aa0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc2",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 217.368,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.11966,
    "h": 260
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#507BC2
secondary
#CFBD9F
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #507BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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