#507BC8#507BC8

#507BC8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.128 H 261.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#507BC8
RGBrgb(80, 123, 200)
HSLhsl(219, 52%, 55%)
HSVhsv(219, 60%, 78%)
CMYKcmyk(60%, 38.5%, 0%, 21.6%)
CIE-LABlab(51.88, 8.78, -44.53)
CIE-LCHlch(51.88, 45.39, 281.15°)
OKLaboklab(58.79% -0.0194 -0.1264)
OKLCHoklch(58.79% 0.128 261.3)
XYZxyz(20.8129, 20.0397, 57.4036)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC8 #C89D50
analogous
#50B7C8 #507BC8 #6150C8
triadic
#507BC8 #C8507B #7BC850
tetradic
#507BC8 #C850B7 #C89D50 #50C861
square
#507BC8 #C850B7 #C89D50 #50C861
split-complementary
#507BC8 #C86150 #B7C850
monochromatic
#264378 #345DA6 #507BC8 #7F9ED7 #ADC1E5

Accessibility & contrast

On white

4.19
#507BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#507BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC8#FFFFFF#000000##000000
##507BC81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4A77C6
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bc8;
/* rgb */ color: rgb(80, 123, 200);
/* oklch */ color: oklch(58.8% 0.128 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba0d9',
    500: '#507bc8',
    950: '#000000',
  },
}
SCSS
$custom: #507bc8;
$custom-light: #8ba0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc8",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 218.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.1279,
    "h": 261.3
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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