#506BE3#506BE3

#506BE3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.184 H 270.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#506BE3
RGBrgb(80, 107, 227)
HSLhsl(229, 72%, 60%)
HSVhsv(229, 65%, 89%)
CMYKcmyk(64.8%, 52.9%, 0%, 11%)
CIE-LABlab(49.21, 27.89, -64.12)
CIE-LCHlch(49.21, 69.93, 293.51°)
OKLaboklab(57.27% 0.0003 -0.1842)
OKLCHoklch(57.27% 0.184 270.1)
XYZxyz(22.4264, 17.7649, 74.9053)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BE3 #E3C850
analogous
#50B4E3 #506BE3 #7F50E3
triadic
#506BE3 #E3506B #6BE350
tetradic
#506BE3 #E350B4 #E3C850 #50E37F
square
#506BE3 #E350B4 #E3C850 #50E37F
split-complementary
#506BE3 #E37F50 #B4E350
monochromatic
#19329F #2243D4 #506BE3 #8598EB #BAC4F4

Accessibility & contrast

On white

4.61
#506BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#506BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #506BE3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BE3#FFFFFF#000000##FFFFFF
##506BE31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#197CE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506be3;
/* rgb */ color: rgb(80, 107, 227);
/* oklch */ color: oklch(57.3% 0.184 270.1);
Tailwind
colors: {
  custom: {
    50: '#9095ed',
    500: '#506be3',
    950: '#000000',
  },
}
SCSS
$custom: #506be3;
$custom-light: #9095ed;
$custom-dark: #000000;
JSON
{
  "hex": "#506be3",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 228.98,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.18418,
    "h": 270.1
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#506BE3
secondary
#E4D9AB
accent
#B111D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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