#507BCA#507BCA

#507BCA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.131 H 261.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#507BCA
RGBrgb(80, 123, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 60%, 79%)
CMYKcmyk(60.4%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.99, 9.45, -45.50)
CIE-LCHlch(51.99, 46.47, 281.73°)
OKLaboklab(58.9% -0.019 -0.1292)
OKLCHoklch(58.9% 0.131 261.6)
XYZxyz(21.0482, 20.1338, 58.6427)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BCA #CA9F50
analogous
#50B8CA #507BCA #6250CA
triadic
#507BCA #CA507B #7BCA50
tetradic
#507BCA #CA50B8 #CA9F50 #50CA62
square
#507BCA #CA50B8 #CA9F50 #50CA62
split-complementary
#507BCA #CA6250 #B8CA50
monochromatic
#25437A #335DA9 #507BCA #7F9ED8 #AEC2E6

Accessibility & contrast

On white

4.18
#507BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#507BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BCA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BCA#FFFFFF#000000##000000
##507BCA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bca;
/* rgb */ color: rgb(80, 123, 202);
/* oklch */ color: oklch(58.9% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0da',
    500: '#507bca',
    950: '#000000',
  },
}
SCSS
$custom: #507bca;
$custom-light: #8ba0da;
$custom-dark: #000000;
JSON
{
  "hex": "#507bca",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 218.852,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.13064,
    "h": 261.6
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#507BCA
secondary
#D4C2A1
accent
#A94BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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