#507CCF#507CCF

#507CCF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.136 H 262.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#507CCF
RGBrgb(80, 124, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(61.4%, 40.1%, 0%, 18.8%)
CIE-LABlab(52.54, 10.53, -47.47)
CIE-LCHlch(52.54, 48.63, 282.51°)
OKLaboklab(59.42% -0.019 -0.135)
OKLCHoklch(59.42% 0.136 262)
XYZxyz(21.7745, 20.6238, 61.8527)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CCF #CFA350
analogous
#50BCCF #507CCF #6450CF
triadic
#507CCF #CF507C #7CCF50
tetradic
#507CCF #CF50BC #CFA350 #50CF64
square
#507CCF #CF50BC #CFA350 #50CF64
split-complementary
#507CCF #CF6450 #BCCF50
monochromatic
#234481 #315DB1 #507CCF #80A0DC #B0C4E9

Accessibility & contrast

On white

4.10
#507CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#507CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CCF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CCF#FFFFFF#000000##000000
##507CCF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D2
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ccf;
/* rgb */ color: rgb(80, 124, 207);
/* oklch */ color: oklch(59.4% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca1de',
    500: '#507ccf',
    950: '#000000',
  },
}
SCSS
$custom: #507ccf;
$custom-light: #8ca1de;
$custom-dark: #000000;
JSON
{
  "hex": "#507ccf",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 219.213,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.13635,
    "h": 262
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#507CCF
secondary
#D8C5A3
accent
#AB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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