#506FF1#506FF1

#506FF1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.198 H 269.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#506FF1
RGBrgb(80, 111, 241)
HSLhsl(228, 85%, 63%)
HSVhsv(228, 67%, 95%)
CMYKcmyk(66.8%, 53.9%, 0%, 5.5%)
CIE-LABlab(51.18, 30.22, -68.79)
CIE-LCHlch(51.18, 75.14, 293.71°)
OKLaboklab(59.05% -0.0023 -0.1979)
OKLCHoklch(59.05% 0.198 269.3)
XYZxyz(24.8645, 19.4229, 85.6407)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FF1 #F1D250
analogous
#50C0F1 #506FF1 #8150F1
triadic
#506FF1 #F1506F #6FF150
tetradic
#506FF1 #F150C0 #F1D250 #50F181
square
#506FF1 #F150C0 #F1D250 #50F181
split-complementary
#506FF1 #F18150 #C0F150
monochromatic
#0F2FB8 #1740EC #506FF1 #899EF6 #C1CCFA

Accessibility & contrast

On white

4.30
#506FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#506FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FF1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FF1#FFFFFF#000000##000000
##506FF11.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #506ff1;
/* rgb */ color: rgb(80, 111, 241);
/* oklch */ color: oklch(59.1% 0.198 269.3);
Tailwind
colors: {
  custom: {
    50: '#9297f6',
    500: '#506ff1',
    950: '#000000',
  },
}
SCSS
$custom: #506ff1;
$custom-light: #9297f6;
$custom-dark: #000000;
JSON
{
  "hex": "#506ff1",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 228.447,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.19787,
    "h": 269.3
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#506FF1
secondary
#EBE0B1
accent
#B704E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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