#507BCD#507BCD

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

Color values

HEX#507BCD
RGBrgb(80, 123, 205)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61%, 40%, 0%, 19.6%)
CIE-LABlab(52.15, 10.46, -46.95)
CIE-LCHlch(52.15, 48.10, 282.56°)
OKLaboklab(59.08% -0.0184 -0.1335)
OKLCHoklch(59.08% 0.135 262.2)
XYZxyz(21.4068, 20.2773, 60.5316)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BCD #CDA250
analogous
#50B9CD #507BCD #6350CD
triadic
#507BCD #CD507B #7BCD50
tetradic
#507BCD #CD50B9 #CDA250 #50CD63
square
#507BCD #CD50B9 #CDA250 #50CD63
split-complementary
#507BCD #CD6350 #B9CD50
monochromatic
#24437E #325DAE #507BCD #809FDB #AFC3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507BCD#FFFFFF#000000##000000
##507BCD1.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)
#5783D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bcd;
/* rgb */ color: rgb(80, 123, 205);
/* oklch */ color: oklch(59.1% 0.135 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca0dd',
    500: '#507bcd',
    950: '#000000',
  },
}
SCSS
$custom: #507bcd;
$custom-light: #8ca0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#507bcd",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 219.36,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.13476,
    "h": 262.2
  },
  "luminance": 0.20279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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