#507EC8#507EC8

#507EC8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.125 H 259.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#507EC8
RGBrgb(80, 126, 200)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(60%, 37%, 0%, 21.6%)
CIE-LABlab(52.73, 6.96, -43.20)
CIE-LCHlch(52.73, 43.75, 279.15°)
OKLaboklab(59.44% -0.0227 -0.1225)
OKLCHoklch(59.44% 0.125 259.5)
XYZxyz(21.1908, 20.7955, 57.5296)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EC8 #C89A50
analogous
#50BAC8 #507EC8 #5E50C8
triadic
#507EC8 #C8507E #7EC850
tetradic
#507EC8 #C850BA #C89A50 #50C85E
square
#507EC8 #C850BA #C89A50 #50C85E
split-complementary
#507EC8 #C85E50 #BAC850
monochromatic
#264578 #3460A6 #507EC8 #7FA0D7 #ADC3E5

Accessibility & contrast

On white

4.07
#507EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#507EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EC8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EC8#FFFFFF#000000##000000
##507EC81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CB
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507ec8;
/* rgb */ color: rgb(80, 126, 200);
/* oklch */ color: oklch(59.4% 0.125 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba3d9',
    500: '#507ec8',
    950: '#000000',
  },
}
SCSS
$custom: #507ec8;
$custom-light: #8ba3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#507ec8",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 217,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.12455,
    "h": 259.5
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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