#507BC6#507BC6

#507BC6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.125 H 260.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#507BC6
RGBrgb(80, 123, 198)
HSLhsl(218, 51%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(59.6%, 37.9%, 0%, 22.4%)
CIE-LABlab(51.78, 8.10, -43.56)
CIE-LCHlch(51.78, 44.30, 280.54°)
OKLaboklab(58.67% -0.0199 -0.1236)
OKLCHoklch(58.67% 0.125 260.8)
XYZxyz(20.5807, 19.9468, 56.1807)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC6 #C69B50
analogous
#50B6C6 #507BC6 #6050C6
triadic
#507BC6 #C6507B #7BC650
tetradic
#507BC6 #C650B6 #C69B50 #50C660
square
#507BC6 #C650B6 #C69B50 #50C660
split-complementary
#507BC6 #C66050 #B6C650
monochromatic
#264375 #355DA4 #507BC6 #7E9ED5 #ACC1E4

Accessibility & contrast

On white

4.21
#507BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#507BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC6#FFFFFF#000000##000000
##507BC61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C9
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507bc6;
/* rgb */ color: rgb(80, 123, 198);
/* oklch */ color: oklch(58.7% 0.125 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0d7',
    500: '#507bc6',
    950: '#000000',
  },
}
SCSS
$custom: #507bc6;
$custom-light: #8ba0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc6",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 218.136,
    "s": 50.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.12515,
    "h": 260.8
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#507BC6
secondary
#D2C0A0
accent
#A74DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #507BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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