#507DC6#507DC6

#507DC6 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.123 H 259.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#507DC6
RGBrgb(80, 125, 198)
HSLhsl(217, 51%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(59.6%, 36.9%, 0%, 22.4%)
CIE-LABlab(52.34, 6.89, -42.66)
CIE-LCHlch(52.34, 43.22, 279.17°)
OKLaboklab(59.11% -0.0221 -0.1209)
OKLCHoklch(59.11% 0.123 259.7)
XYZxyz(20.8314, 20.4481, 56.2642)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DC6 #C69950
analogous
#50B8C6 #507DC6 #5E50C6
triadic
#507DC6 #C6507D #7DC650
tetradic
#507DC6 #C650B8 #C69950 #50C65E
square
#507DC6 #C650B8 #C69950 #50C65E
split-complementary
#507DC6 #C65E50 #B8C650
monochromatic
#264475 #355FA4 #507DC6 #7E9FD5 #ACC2E4

Accessibility & contrast

On white

4.13
#507DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#507DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DC6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DC6#FFFFFF#000000##000000
##507DC61.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507dc6;
/* rgb */ color: rgb(80, 125, 198);
/* oklch */ color: oklch(59.1% 0.123 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2d7',
    500: '#507dc6',
    950: '#000000',
  },
}
SCSS
$custom: #507dc6;
$custom-light: #8ba2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507dc6",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 217.119,
    "s": 50.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.12293,
    "h": 259.7
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#507DC6
secondary
#D2BFA0
accent
#A54DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #507DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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