#507BDB#507BDB

#507BDB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.154 H 264.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#507BDB
RGBrgb(80, 123, 219)
HSLhsl(221, 66%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63.5%, 43.8%, 0%, 14.1%)
CIE-LABlab(52.93, 15.24, -53.63)
CIE-LCHlch(52.93, 55.75, 285.86°)
OKLaboklab(59.94% -0.0157 -0.1531)
OKLCHoklch(59.94% 0.154 264.1)
XYZxyz(23.1730, 20.9837, 69.8332)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BDB #DBB050
analogous
#50C0DB #507BDB #6A50DB
triadic
#507BDB #DB507B #7BDB50
tetradic
#507BDB #DB50C0 #DBB050 #50DB6A
square
#507BDB #DB50C0 #DBB050 #50DB6A
split-complementary
#507BDB #DB6A50 #C0DB50
monochromatic
#1E4292 #2959C5 #507BDB #83A1E5 #B6C8F0

Accessibility & contrast

On white

4.04
#507BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#507BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BDB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BDB#FFFFFF#000000##000000
##507BDB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507bdb;
/* rgb */ color: rgb(80, 123, 219);
/* oklch */ color: oklch(59.9% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea0e7',
    500: '#507bdb',
    950: '#000000',
  },
}
SCSS
$custom: #507bdb;
$custom-light: #8ea0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507bdb",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 221.439,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.15389,
    "h": 264.1
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#507BDB
secondary
#DFCEA8
accent
#B43FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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