#507BC1#507BC1

#507BC1 is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.4% C 0.118 H 259.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#507BC1
RGBrgb(80, 123, 193)
HSLhsl(217, 48%, 54%)
HSVhsv(217, 59%, 76%)
CMYKcmyk(58.5%, 36.3%, 0%, 24.3%)
CIE-LABlab(51.52, 6.43, -41.11)
CIE-LCHlch(51.52, 41.61, 278.89°)
OKLaboklab(58.39% -0.0211 -0.1164)
OKLCHoklch(58.39% 0.118 259.7)
XYZxyz(20.0135, 19.7200, 53.1934)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC1 #C19650
analogous
#50B3C1 #507BC1 #5D50C1
triadic
#507BC1 #C1507B #7BC150
tetradic
#507BC1 #C150B3 #C19650 #50C15D
square
#507BC1 #C150B3 #C19650 #50C15D
split-complementary
#507BC1 #C15D50 #B3C150
monochromatic
#27436F #375E9C #507BC1 #7D9DD1 #AABFE1

Accessibility & contrast

On white

4.25
#507BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#507BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC1#FFFFFF#000000##000000
##507BC11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507bc1;
/* rgb */ color: rgb(80, 123, 193);
/* oklch */ color: oklch(58.4% 0.118 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa0d4',
    500: '#507bc1',
    950: '#000000',
  },
}
SCSS
$custom: #507bc1;
$custom-light: #8aa0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc1",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 217.168,
    "s": 47.679,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.1183,
    "h": 259.7
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#507BC1
secondary
#CFBC9E
accent
#A451D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #507BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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