#507DC8#507DC8

#507DC8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.126 H 260.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#507DC8
RGBrgb(80, 125, 200)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(60%, 37.5%, 0%, 21.6%)
CIE-LABlab(52.44, 7.56, -43.64)
CIE-LCHlch(52.44, 44.29, 279.83°)
OKLaboklab(59.22% -0.0216 -0.1238)
OKLCHoklch(59.22% 0.126 260.1)
XYZxyz(21.0636, 20.5410, 57.4872)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DC8 #C89B50
analogous
#50B9C8 #507DC8 #5F50C8
triadic
#507DC8 #C8507D #7DC850
tetradic
#507DC8 #C850B9 #C89B50 #50C85F
square
#507DC8 #C850B9 #C89B50 #50C85F
split-complementary
#507DC8 #C85F50 #B9C850
monochromatic
#264578 #345FA6 #507DC8 #7FA0D7 #ADC2E5

Accessibility & contrast

On white

4.11
#507DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#507DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DC8#FFFFFF#000000##000000
##507DC81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#4D78C6
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507dc8;
/* rgb */ color: rgb(80, 125, 200);
/* oklch */ color: oklch(59.2% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba2d9',
    500: '#507dc8',
    950: '#000000',
  },
}
SCSS
$custom: #507dc8;
$custom-light: #8ba2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507dc8",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 217.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.12565,
    "h": 260.1
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#507DC8
secondary
#D3C0A1
accent
#A64CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #507DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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