#507FC8#507FC8

#507FC8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.123 H 258.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#507FC8
RGBrgb(80, 127, 200)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(60%, 36.5%, 0%, 21.6%)
CIE-LABlab(53.01, 6.35, -42.75)
CIE-LCHlch(53.01, 43.22, 278.45°)
OKLaboklab(59.66% -0.0238 -0.1212)
OKLCHoklch(59.66% 0.123 258.9)
XYZxyz(21.3193, 21.0525, 57.5724)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FC8 #C89950
analogous
#50BBC8 #507FC8 #5D50C8
triadic
#507FC8 #C8507F #7FC850
tetradic
#507FC8 #C850BB #C89950 #50C85D
square
#507FC8 #C850BB #C89950 #50C85D
split-complementary
#507FC8 #C85D50 #BBC850
monochromatic
#264678 #3461A6 #507FC8 #7FA1D7 #ADC3E5

Accessibility & contrast

On white

4.03
#507FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#507FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FC8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FC8#FFFFFF#000000##000000
##507FC81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507fc8;
/* rgb */ color: rgb(80, 127, 200);
/* oklch */ color: oklch(59.7% 0.123 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3d9',
    500: '#507fc8',
    950: '#000000',
  },
}
SCSS
$custom: #507fc8;
$custom-light: #8ba3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507fc8",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 216.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.12347,
    "h": 258.9
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#507FC8
secondary
#D3BFA1
accent
#A34CDC
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #507FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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