#507CDB#507CDB

#507CDB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.153 H 263.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#507CDB
RGBrgb(80, 124, 219)
HSLhsl(221, 66%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63.5%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.20, 14.62, -53.19)
CIE-LCHlch(53.20, 55.17, 285.37°)
OKLaboklab(60.15% -0.0167 -0.1518)
OKLCHoklch(60.15% 0.153 263.7)
XYZxyz(23.2976, 21.2331, 69.8747)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CDB #DBAF50
analogous
#50C1DB #507CDB #6950DB
triadic
#507CDB #DB507C #7CDB50
tetradic
#507CDB #DB50C1 #DBAF50 #50DB69
square
#507CDB #DB50C1 #DBAF50 #50DB69
split-complementary
#507CDB #DB6950 #C1DB50
monochromatic
#1E4392 #295AC5 #507CDB #83A2E5 #B6C8F0

Accessibility & contrast

On white

4.00
#507CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#507CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CDB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CDB#FFFFFF#000000##000000
##507CDB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507cdb;
/* rgb */ color: rgb(80, 124, 219);
/* oklch */ color: oklch(60.1% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#8ea1e7',
    500: '#507cdb',
    950: '#000000',
  },
}
SCSS
$custom: #507cdb;
$custom-light: #8ea1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507cdb",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 221.007,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.15271,
    "h": 263.7
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#507CDB
secondary
#DFCDA8
accent
#B33FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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