#507DBD#507DBD

#507DBD is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.111 H 257.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#507DBD
RGBrgb(80, 125, 189)
HSLhsl(215, 45%, 53%)
HSVhsv(215, 58%, 74%)
CMYKcmyk(57.7%, 33.9%, 0%, 25.9%)
CIE-LABlab(51.89, 3.90, -38.23)
CIE-LCHlch(51.89, 38.43, 275.82°)
OKLaboklab(58.61% -0.0244 -0.108)
OKLCHoklch(58.61% 0.111 257.3)
XYZxyz(19.8240, 20.0452, 50.9587)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DBD #BD9050
analogous
#50B4BD #507DBD #5950BD
triadic
#507DBD #BD507D #7DBD50
tetradic
#507DBD #BD50B4 #BD9050 #50BD59
square
#507DBD #BD50B4 #BD9050 #50BD59
split-complementary
#507DBD #BD5950 #B4BD50
monochromatic
#28446A #396097 #507DBD #7C9ECE #A9BFDF

Accessibility & contrast

On white

4.19
#507DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#507DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DBD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DBD#FFFFFF#000000##000000
##507DBD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381C0
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507dbd;
/* rgb */ color: rgb(80, 125, 189);
/* oklch */ color: oklch(58.6% 0.111 257.3);
Tailwind
colors: {
  custom: {
    50: '#89a2d1',
    500: '#507dbd',
    950: '#000000',
  },
}
SCSS
$custom: #507dbd;
$custom-light: #89a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#507dbd",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 215.229,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5861,
    "c": 0.11071,
    "h": 257.3
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#507DBD
secondary
#CCB99D
accent
#9F53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #507DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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