#507AC9#507AC9

#507AC9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.130 H 262.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#507AC9
RGBrgb(80, 122, 201)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 60%, 79%)
CMYKcmyk(60.2%, 39.3%, 0%, 21.2%)
CIE-LABlab(51.66, 9.72, -45.46)
CIE-LCHlch(51.66, 46.49, 282.07°)
OKLaboklab(58.63% -0.0182 -0.1291)
OKLCHoklch(58.63% 0.13 262)
XYZxyz(20.8068, 19.8398, 57.9800)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AC9 #C99F50
analogous
#50B6C9 #507AC9 #6350C9
triadic
#507AC9 #C9507A #7AC950
tetradic
#507AC9 #C950B6 #C99F50 #50C963
square
#507AC9 #C950B6 #C99F50 #50C963
split-complementary
#507AC9 #C96350 #B6C950
monochromatic
#254279 #345CA8 #507AC9 #7F9ED7 #AEC1E6

Accessibility & contrast

On white

4.23
#507AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#507AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AC9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AC9#FFFFFF#000000##000000
##507AC91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507ac9;
/* rgb */ color: rgb(80, 122, 201);
/* oklch */ color: oklch(58.6% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ba0da',
    500: '#507ac9',
    950: '#000000',
  },
}
SCSS
$custom: #507ac9;
$custom-light: #8ba0da;
$custom-dark: #000000;
JSON
{
  "hex": "#507ac9",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 219.174,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.13041,
    "h": 262
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#507AC9
secondary
#D4C2A1
accent
#AA4CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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