#507DD3#507DD3

#507DD3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.141 H 262.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#507DD3
RGBrgb(80, 125, 211)
HSLhsl(219, 60%, 57%)
HSVhsv(219, 62%, 83%)
CMYKcmyk(62.1%, 40.8%, 0%, 17.3%)
CIE-LABlab(53.03, 11.28, -48.95)
CIE-LCHlch(53.03, 50.24, 282.98°)
OKLaboklab(59.87% -0.0192 -0.1393)
OKLCHoklch(59.87% 0.141 262.2)
XYZxyz(22.3956, 21.0738, 64.5028)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DD3 #D3A650
analogous
#50BFD3 #507DD3 #6550D3
triadic
#507DD3 #D3507D #7DD350
tetradic
#507DD3 #D350BF #D3A650 #50D365
square
#507DD3 #D350BF #D3A650 #50D365
split-complementary
#507DD3 #D36550 #BFD350
monochromatic
#224587 #2E5DB8 #507DD3 #81A1DF #B2C6EC

Accessibility & contrast

On white

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

On black

5.22
#507DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DD3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DD3#FFFFFF#000000##000000
##507DD31.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D6
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507dd3;
/* rgb */ color: rgb(80, 125, 211);
/* oklch */ color: oklch(59.9% 0.141 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca2e1',
    500: '#507dd3',
    950: '#000000',
  },
}
SCSS
$custom: #507dd3;
$custom-light: #8ca2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#507dd3",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 211
  },
  "hsl": {
    "h": 219.389,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.14066,
    "h": 262.2
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#507DD3
secondary
#DAC8A5
accent
#AD45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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