#507DDB#507DDB

#507DDB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.152 H 263.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#507DDB
RGBrgb(80, 125, 219)
HSLhsl(221, 66%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63.5%, 42.9%, 0%, 14.1%)
CIE-LABlab(53.48, 14.01, -52.76)
CIE-LCHlch(53.48, 54.59, 284.87°)
OKLaboklab(60.36% -0.0177 -0.1505)
OKLCHoklch(60.36% 0.152 263.3)
XYZxyz(23.4236, 21.4850, 69.9167)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DDB #DBAE50
analogous
#50C2DB #507DDB #6850DB
triadic
#507DDB #DB507D #7DDB50
tetradic
#507DDB #DB50C2 #DBAE50 #50DB68
square
#507DDB #DB50C2 #DBAE50 #50DB68
split-complementary
#507DDB #DB6850 #C2DB50
monochromatic
#1E4492 #295BC5 #507DDB #83A3E5 #B6C8F0

Accessibility & contrast

On white

3.96
#507DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#507DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DDB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DDB#FFFFFF#000000##000000
##507DDB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ddb;
/* rgb */ color: rgb(80, 125, 219);
/* oklch */ color: oklch(60.4% 0.152 263.3);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#507ddb',
    950: '#000000',
  },
}
SCSS
$custom: #507ddb;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507ddb",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 220.576,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.15154,
    "h": 263.3
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#507DDB
secondary
#DFCDA8
accent
#B23FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #507DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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