#507AC8#507AC8

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

Color values

HEX#507AC8
RGBrgb(80, 122, 200)
HSLhsl(219, 52%, 55%)
HSVhsv(219, 60%, 78%)
CMYKcmyk(60%, 39%, 0%, 21.6%)
CIE-LABlab(51.60, 9.39, -44.97)
CIE-LCHlch(51.60, 45.94, 281.79°)
OKLaboklab(58.57% -0.0184 -0.1277)
OKLCHoklch(58.57% 0.129 261.8)
XYZxyz(20.6895, 19.7929, 57.3625)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AC8 #C89E50
analogous
#50B6C8 #507AC8 #6250C8
triadic
#507AC8 #C8507A #7AC850
tetradic
#507AC8 #C850B6 #C89E50 #50C862
square
#507AC8 #C850B6 #C89E50 #50C862
split-complementary
#507AC8 #C86250 #B6C850
monochromatic
#264278 #345CA6 #507AC8 #7F9DD7 #ADC1E5

Accessibility & contrast

On white

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

On black

4.96
#507AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AC8#FFFFFF#000000##000000
##507AC81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#4876C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507ac8;
/* rgb */ color: rgb(80, 122, 200);
/* oklch */ color: oklch(58.6% 0.129 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0d9',
    500: '#507ac8',
    950: '#000000',
  },
}
SCSS
$custom: #507ac8;
$custom-light: #8ba0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507ac8",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 219,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.12904,
    "h": 261.8
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#507AC8
secondary
#D3C1A1
accent
#A94CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #507AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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