#507FCA#507FCA

#507FCA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.126 H 259.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#507FCA
RGBrgb(80, 127, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 60%, 79%)
CMYKcmyk(60.4%, 37.1%, 0%, 20.8%)
CIE-LABlab(53.11, 7.02, -43.72)
CIE-LCHlch(53.11, 44.28, 279.13°)
OKLaboklab(59.78% -0.0233 -0.124)
OKLCHoklch(59.78% 0.126 259.4)
XYZxyz(21.5546, 21.1466, 58.8115)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FCA #CA9B50
analogous
#50BCCA #507FCA #5E50CA
triadic
#507FCA #CA507F #7FCA50
tetradic
#507FCA #CA50BC #CA9B50 #50CA5E
square
#507FCA #CA50BC #CA9B50 #50CA5E
split-complementary
#507FCA #CA5E50 #BCCA50
monochromatic
#25467A #3361A9 #507FCA #7FA1D8 #AEC4E6

Accessibility & contrast

On white

4.02
#507FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#507FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FCA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FCA#FFFFFF#000000##000000
##507FCA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507fca;
/* rgb */ color: rgb(80, 127, 202);
/* oklch */ color: oklch(59.8% 0.126 259.4);
Tailwind
colors: {
  custom: {
    50: '#8ba3da',
    500: '#507fca',
    950: '#000000',
  },
}
SCSS
$custom: #507fca;
$custom-light: #8ba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#507fca",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 216.885,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.12618,
    "h": 259.4
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#507FCA
secondary
#D4C1A1
accent
#A54BDD
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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