#507BC5#507BC5

#507BC5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.124 H 260.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#507BC5
RGBrgb(80, 123, 197)
HSLhsl(218, 50%, 54%)
HSVhsv(218, 59%, 77%)
CMYKcmyk(59.4%, 37.6%, 0%, 22.7%)
CIE-LABlab(51.73, 7.77, -43.07)
CIE-LCHlch(51.73, 43.76, 280.22°)
OKLaboklab(58.61% -0.0201 -0.1221)
OKLCHoklch(58.61% 0.124 260.6)
XYZxyz(20.4658, 19.9009, 55.5752)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC5 #C59A50
analogous
#50B6C5 #507BC5 #6050C5
triadic
#507BC5 #C5507B #7BC550
tetradic
#507BC5 #C550B6 #C59A50 #50C560
square
#507BC5 #C550B6 #C59A50 #50C560
split-complementary
#507BC5 #C56050 #B6C550
monochromatic
#264374 #365EA2 #507BC5 #7E9ED4 #ACC0E3

Accessibility & contrast

On white

4.22
#507BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#507BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC5#FFFFFF#000000##000000
##507BC51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507bc5;
/* rgb */ color: rgb(80, 123, 197);
/* oklch */ color: oklch(58.6% 0.124 260.6);
Tailwind
colors: {
  custom: {
    50: '#8aa0d7',
    500: '#507bc5',
    950: '#000000',
  },
}
SCSS
$custom: #507bc5;
$custom-light: #8aa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc5",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 217.949,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.12378,
    "h": 260.6
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#507BC5
secondary
#D1BFA0
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #507BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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