#507FCF#507FCF

#507FCF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.133 H 260.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#507FCF
RGBrgb(80, 127, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 61%, 81%)
CMYKcmyk(61.4%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.37, 8.71, -46.15)
CIE-LCHlch(53.37, 46.96, 280.69°)
OKLaboklab(60.06% -0.0221 -0.1311)
OKLCHoklch(60.06% 0.133 260.4)
XYZxyz(22.1562, 21.3872, 61.9799)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FCF #CFA050
analogous
#50BFCF #507FCF #6150CF
triadic
#507FCF #CF507F #7FCF50
tetradic
#507FCF #CF50BF #CFA050 #50CF61
square
#507FCF #CF50BF #CFA050 #50CF61
split-complementary
#507FCF #CF6150 #BFCF50
monochromatic
#234681 #3160B1 #507FCF #80A2DC #B0C5E9

Accessibility & contrast

On white

3.98
#507FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#507FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FCF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FCF#FFFFFF#000000##000000
##507FCF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507fcf;
/* rgb */ color: rgb(80, 127, 207);
/* oklch */ color: oklch(60.1% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3de',
    500: '#507fcf',
    950: '#000000',
  },
}
SCSS
$custom: #507fcf;
$custom-light: #8ca3de;
$custom-dark: #000000;
JSON
{
  "hex": "#507fcf",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 217.795,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.13295,
    "h": 260.4
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#507FCF
secondary
#D8C4A3
accent
#A848E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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