#507BD9#507BD9

#507BD9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.151 H 263.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#507BD9
RGBrgb(80, 123, 217)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(63.1%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.82, 14.55, -52.68)
CIE-LCHlch(52.82, 54.66, 285.44°)
OKLaboklab(59.81% -0.016 -0.1503)
OKLCHoklch(59.81% 0.151 263.9)
XYZxyz(22.9113, 20.8790, 68.4548)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BD9 #D9AE50
analogous
#50BFD9 #507BD9 #6950D9
triadic
#507BD9 #D9507B #7BD950
tetradic
#507BD9 #D950BF #D9AE50 #50D969
square
#507BD9 #D950BF #D9AE50 #50D969
split-complementary
#507BD9 #D96950 #BFD950
monochromatic
#1F428F #2A5AC2 #507BD9 #82A1E4 #B5C7EF

Accessibility & contrast

On white

4.06
#507BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#507BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BD9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BD9#FFFFFF#000000##000000
##507BD91.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DD
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507bd9;
/* rgb */ color: rgb(80, 123, 217);
/* oklch */ color: oklch(59.8% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#8da0e5',
    500: '#507bd9',
    950: '#000000',
  },
}
SCSS
$custom: #507bd9;
$custom-light: #8da0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#507bd9",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 221.168,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.15117,
    "h": 263.9
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#507BD9
secondary
#DECDA7
accent
#B340E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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