#507FD2#507FD2

#507FD2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.137 H 261.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#507FD2
RGBrgb(80, 127, 210)
HSLhsl(218, 59%, 57%)
HSVhsv(218, 62%, 82%)
CMYKcmyk(61.9%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.53, 9.72, -47.59)
CIE-LCHlch(53.53, 48.58, 281.55°)
OKLaboklab(60.24% -0.0215 -0.1353)
OKLCHoklch(60.24% 0.137 261)
XYZxyz(22.5264, 21.5353, 63.9299)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FD2 #D2A350
analogous
#50C0D2 #507FD2 #6250D2
triadic
#507FD2 #D2507F #7FD250
tetradic
#507FD2 #D250C0 #D2A350 #50D262
square
#507FD2 #D250C0 #D2A350 #50D262
split-complementary
#507FD2 #D26250 #C0D250
monochromatic
#224685 #2F60B6 #507FD2 #81A3DF #B1C6EB

Accessibility & contrast

On white

3.96
#507FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#507FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FD2#FFFFFF#000000##000000
##507FD21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D5
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507fd2;
/* rgb */ color: rgb(80, 127, 210);
/* oklch */ color: oklch(60.2% 0.137 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca3e0',
    500: '#507fd2',
    950: '#000000',
  },
}
SCSS
$custom: #507fd2;
$custom-light: #8ca3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#507fd2",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 218.308,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.13702,
    "h": 261
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#507FD2
secondary
#D9C6A4
accent
#AA46E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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