#507FD3#507FD3

#507FD3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.138 H 261.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#507FD3
RGBrgb(80, 127, 211)
HSLhsl(218, 60%, 57%)
HSVhsv(218, 62%, 83%)
CMYKcmyk(62.1%, 39.8%, 0%, 17.3%)
CIE-LABlab(53.58, 10.06, -48.07)
CIE-LCHlch(53.58, 49.12, 281.82°)
OKLaboklab(60.3% -0.0213 -0.1367)
OKLCHoklch(60.3% 0.138 261.2)
XYZxyz(22.6514, 21.5853, 64.5881)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FD3 #D3A450
analogous
#50C1D3 #507FD3 #6350D3
triadic
#507FD3 #D3507F #7FD350
tetradic
#507FD3 #D350C1 #D3A450 #50D363
square
#507FD3 #D350C1 #D3A450 #50D363
split-complementary
#507FD3 #D36350 #C1D350
monochromatic
#224687 #2E5FB8 #507FD3 #81A3DF #B2C7EC

Accessibility & contrast

On white

3.95
#507FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#507FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FD3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FD3#FFFFFF#000000##000000
##507FD31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507fd3;
/* rgb */ color: rgb(80, 127, 211);
/* oklch */ color: oklch(60.3% 0.138 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ca3e1',
    500: '#507fd3',
    950: '#000000',
  },
}
SCSS
$custom: #507fd3;
$custom-light: #8ca3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#507fd3",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 218.473,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.13838,
    "h": 261.2
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#507FD3
secondary
#DAC7A5
accent
#AA45E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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