#507BDA#507BDA

#507BDA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.153 H 264.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#507BDA
RGBrgb(80, 123, 218)
HSLhsl(221, 65%, 58%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(63.3%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.87, 14.89, -53.16)
CIE-LCHlch(52.87, 55.20, 285.65°)
OKLaboklab(59.88% -0.0159 -0.1517)
OKLCHoklch(59.88% 0.153 264)
XYZxyz(23.0417, 20.9312, 69.1419)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BDA #DAAF50
analogous
#50C0DA #507BDA #6A50DA
triadic
#507BDA #DA507B #7BDA50
tetradic
#507BDA #DA50C0 #DAAF50 #50DA6A
square
#507BDA #DA50C0 #DAAF50 #50DA6A
split-complementary
#507BDA #DA6A50 #C0DA50
monochromatic
#1F4291 #2959C3 #507BDA #83A1E5 #B5C7EF

Accessibility & contrast

On white

4.05
#507BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#507BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BDA#FFFFFF#000000##000000
##507BDA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507bda;
/* rgb */ color: rgb(80, 123, 218);
/* oklch */ color: oklch(59.9% 0.153 264.0);
Tailwind
colors: {
  custom: {
    50: '#8ea0e6',
    500: '#507bda',
    950: '#000000',
  },
}
SCSS
$custom: #507bda;
$custom-light: #8ea0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#507bda",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 221.304,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.15253,
    "h": 264
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#507BDA
secondary
#DECDA8
accent
#B440E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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