#507BCF#507BCF

#507BCF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.138 H 262.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#507BCF
RGBrgb(80, 123, 207)
HSLhsl(220, 57%, 56%)
HSVhsv(220, 61%, 81%)
CMYKcmyk(61.4%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.26, 11.14, -47.92)
CIE-LCHlch(52.26, 49.19, 283.09°)
OKLaboklab(59.2% -0.0179 -0.1363)
OKLCHoklch(59.2% 0.138 262.5)
XYZxyz(21.6498, 20.3745, 61.8111)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BCF #CFA450
analogous
#50BBCF #507BCF #6550CF
triadic
#507BCF #CF507B #7BCF50
tetradic
#507BCF #CF50BB #CFA450 #50CF65
square
#507BCF #CF50BB #CFA450 #50CF65
split-complementary
#507BCF #CF6550 #BBCF50
monochromatic
#234381 #315CB1 #507BCF #809FDC #B0C3E9

Accessibility & contrast

On white

4.14
#507BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#507BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BCF#FFFFFF#000000##000000
##507BCF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507bcf;
/* rgb */ color: rgb(80, 123, 207);
/* oklch */ color: oklch(59.2% 0.138 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca0de',
    500: '#507bcf',
    950: '#000000',
  },
}
SCSS
$custom: #507bcf;
$custom-light: #8ca0de;
$custom-dark: #000000;
JSON
{
  "hex": "#507bcf",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 219.685,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.1375,
    "h": 262.5
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#507BCF
secondary
#D8C6A3
accent
#AD48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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