#507BD8#507BD8

#507BD8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.150 H 263.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#507BD8
RGBrgb(80, 123, 216)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(63%, 43.1%, 0%, 15.3%)
CIE-LABlab(52.76, 14.21, -52.21)
CIE-LCHlch(52.76, 54.11, 285.22°)
OKLaboklab(59.75% -0.0162 -0.1489)
OKLCHoklch(59.75% 0.15 263.8)
XYZxyz(22.7816, 20.8272, 67.7719)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BD8 #D8AD50
analogous
#50BFD8 #507BD8 #6950D8
triadic
#507BD8 #D8507B #7BD850
tetradic
#507BD8 #D850BF #D8AD50 #50D869
square
#507BD8 #D850BF #D8AD50 #50D869
split-complementary
#507BD8 #D86950 #BFD850
monochromatic
#20438E #2B5AC0 #507BD8 #82A1E3 #B4C6EE

Accessibility & contrast

On white

4.07
#507BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#507BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BD8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BD8#FFFFFF#000000##000000
##507BD81.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507bd8;
/* rgb */ color: rgb(80, 123, 216);
/* oklch */ color: oklch(59.8% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#8da0e4',
    500: '#507bd8',
    950: '#000000',
  },
}
SCSS
$custom: #507bd8;
$custom-light: #8da0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507bd8",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 221.029,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.14981,
    "h": 263.8
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#507BD8
secondary
#DDCCA7
accent
#B241E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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