#506BCA#506BCA

#506BCA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.150 H 269.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#506BCA
RGBrgb(80, 107, 202)
HSLhsl(227, 54%, 55%)
HSVhsv(227, 60%, 79%)
CMYKcmyk(60.4%, 47%, 0%, 20.8%)
CIE-LABlab(47.60, 19.34, -52.50)
CIE-LCHlch(47.60, 55.95, 290.23°)
OKLaboklab(55.53% -0.0022 -0.15)
OKLCHoklch(55.53% 0.15 269.1)
XYZxyz(19.2230, 16.4835, 58.0343)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BCA #CAAF50
analogous
#50A8CA #506BCA #7250CA
triadic
#506BCA #CA506B #6BCA50
tetradic
#506BCA #CA50A8 #CAAF50 #50CA72
square
#506BCA #CA50A8 #CAAF50 #50CA72
split-complementary
#506BCA #CA7250 #A8CA50
monochromatic
#25387A #334DA9 #506BCA #7F93D8 #AEBAE6

Accessibility & contrast

On white

4.89
#506BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#506BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BCA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BCA#FFFFFF#000000##FFFFFF
##506BCA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #506bca;
/* rgb */ color: rgb(80, 107, 202);
/* oklch */ color: oklch(55.5% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#8c95db',
    500: '#506bca',
    950: '#000000',
  },
}
SCSS
$custom: #506bca;
$custom-light: #8c95db;
$custom-dark: #000000;
JSON
{
  "hex": "#506bca",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 226.721,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.14999,
    "h": 269.1
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#506BCA
secondary
#D4C9A1
accent
#BD4BDD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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