#507CCD#507CCD

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

Color values

HEX#507CCD
RGBrgb(80, 124, 205)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.43, 9.85, -46.51)
CIE-LCHlch(52.43, 47.54, 281.96°)
OKLaboklab(59.3% -0.0194 -0.1322)
OKLCHoklch(59.3% 0.134 261.6)
XYZxyz(21.5315, 20.5266, 60.5731)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CCD #CDA150
analogous
#50BACD #507CCD #6250CD
triadic
#507CCD #CD507C #7CCD50
tetradic
#507CCD #CD50BA #CDA150 #50CD62
square
#507CCD #CD50BA #CDA150 #50CD62
split-complementary
#507CCD #CD6250 #BACD50
monochromatic
#24447E #325DAE #507CCD #80A0DB #AFC3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507CCD#FFFFFF#000000##000000
##507CCD1.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)
#5983D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ccd;
/* rgb */ color: rgb(80, 124, 205);
/* oklch */ color: oklch(59.3% 0.134 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ca1dd',
    500: '#507ccd',
    950: '#000000',
  },
}
SCSS
$custom: #507ccd;
$custom-light: #8ca1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#507ccd",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 218.88,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.13361,
    "h": 261.6
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#507CCD
secondary
#D6C4A2
accent
#AA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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