#507BC7#507BC7

#507BC7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.127 H 261.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507BC7
RGBrgb(80, 123, 199)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(59.8%, 38.2%, 0%, 22%)
CIE-LABlab(51.83, 8.44, -44.04)
CIE-LCHlch(51.83, 44.84, 280.85°)
OKLaboklab(58.73% -0.0197 -0.125)
OKLCHoklch(58.73% 0.127 261.1)
XYZxyz(20.6964, 19.9931, 56.7902)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC7 #C79C50
analogous
#50B7C7 #507BC7 #6050C7
triadic
#507BC7 #C7507B #7BC750
tetradic
#507BC7 #C750B7 #C79C50 #50C760
square
#507BC7 #C750B7 #C79C50 #50C760
split-complementary
#507BC7 #C76050 #B7C750
monochromatic
#264377 #355DA5 #507BC7 #7E9ED6 #ADC1E5

Accessibility & contrast

On white

4.20
#507BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#507BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC7#FFFFFF#000000##000000
##507BC71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#4B76C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bc7;
/* rgb */ color: rgb(80, 123, 199);
/* oklch */ color: oklch(58.7% 0.127 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba0d8',
    500: '#507bc7',
    950: '#000000',
  },
}
SCSS
$custom: #507bc7;
$custom-light: #8ba0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc7",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 218.319,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.12652,
    "h": 261.1
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#507BC7
secondary
#D2C0A0
accent
#A84DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #507BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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