#507CC8#507CC8

#507CC8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.127 H 260.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507CC8
RGBrgb(80, 124, 200)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(60%, 38%, 0%, 21.6%)
CIE-LABlab(52.16, 8.17, -44.09)
CIE-LCHlch(52.16, 44.84, 280.50°)
OKLaboklab(59.01% -0.0205 -0.1251)
OKLCHoklch(59.01% 0.127 260.7)
XYZxyz(20.9376, 20.2891, 57.4452)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CC8 #C89C50
analogous
#50B8C8 #507CC8 #6050C8
triadic
#507CC8 #C8507C #7CC850
tetradic
#507CC8 #C850B8 #C89C50 #50C860
square
#507CC8 #C850B8 #C89C50 #50C860
split-complementary
#507CC8 #C86050 #B8C850
monochromatic
#264478 #345EA6 #507CC8 #7F9FD7 #ADC2E5

Accessibility & contrast

On white

4.15
#507CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#507CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CC8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CC8#FFFFFF#000000##000000
##507CC81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CB
Deuteranopia (green-blind)
#4B77C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507cc8;
/* rgb */ color: rgb(80, 124, 200);
/* oklch */ color: oklch(59.0% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ba1d9',
    500: '#507cc8',
    950: '#000000',
  },
}
SCSS
$custom: #507cc8;
$custom-light: #8ba1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507cc8",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 218,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.12677,
    "h": 260.7
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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