#506FCA#506FCA

#506FCA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.4% C 0.145 H 267.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#506FCA
RGBrgb(80, 111, 202)
HSLhsl(225, 54%, 55%)
HSVhsv(225, 60%, 79%)
CMYKcmyk(60.4%, 45%, 0%, 20.8%)
CIE-LABlab(48.68, 16.85, -50.77)
CIE-LCHlch(48.68, 53.49, 288.36°)
OKLaboklab(56.36% -0.0064 -0.1448)
OKLCHoklch(56.36% 0.145 267.5)
XYZxyz(19.6498, 17.3370, 58.1765)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FCA #CAAB50
analogous
#50ACCA #506FCA #6E50CA
triadic
#506FCA #CA506F #6FCA50
tetradic
#506FCA #CA50AC #CAAB50 #50CA6E
square
#506FCA #CA50AC #CAAB50 #50CA6E
split-complementary
#506FCA #CA6E50 #ACCA50
monochromatic
#253B7A #3351A9 #506FCA #7F96D8 #AEBCE6

Accessibility & contrast

On white

4.70
#506FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#506FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506FCA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FCA#FFFFFF#000000##FFFFFF
##506FCA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#326EC8
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506fca;
/* rgb */ color: rgb(80, 111, 202);
/* oklch */ color: oklch(56.4% 0.145 267.5);
Tailwind
colors: {
  custom: {
    50: '#8b97db',
    500: '#506fca',
    950: '#000000',
  },
}
SCSS
$custom: #506fca;
$custom-light: #8b97db;
$custom-dark: #000000;
JSON
{
  "hex": "#506fca",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 224.754,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.14499,
    "h": 267.5
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#506FCA
secondary
#D4C7A1
accent
#B84BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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