#507BD2#507BD2

#507BD2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.142 H 263.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#507BD2
RGBrgb(80, 123, 210)
HSLhsl(220, 59%, 57%)
HSVhsv(220, 62%, 82%)
CMYKcmyk(61.9%, 41.4%, 0%, 17.6%)
CIE-LABlab(52.42, 12.16, -49.35)
CIE-LCHlch(52.42, 50.83, 283.84°)
OKLaboklab(59.38% -0.0173 -0.1405)
OKLCHoklch(59.38% 0.142 263)
XYZxyz(22.0200, 20.5226, 63.7611)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BD2 #D2A750
analogous
#50BCD2 #507BD2 #6650D2
triadic
#507BD2 #D2507B #7BD250
tetradic
#507BD2 #D250BC #D2A750 #50D266
square
#507BD2 #D250BC #D2A750 #50D266
split-complementary
#507BD2 #D26650 #BCD250
monochromatic
#224385 #2F5CB6 #507BD2 #81A0DF #B1C4EB

Accessibility & contrast

On white

4.11
#507BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#507BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BD2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BD2#FFFFFF#000000##000000
##507BD21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D5
Deuteranopia (green-blind)
#4178D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507bd2;
/* rgb */ color: rgb(80, 123, 210);
/* oklch */ color: oklch(59.4% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ca0e0',
    500: '#507bd2',
    950: '#000000',
  },
}
SCSS
$custom: #507bd2;
$custom-light: #8ca0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#507bd2",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 220.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.14161,
    "h": 263
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#507BD2
secondary
#D9C8A4
accent
#AE46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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