#506CE8#506CE8

#506CE8 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.190 H 269.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#506CE8
RGBrgb(80, 108, 232)
HSLhsl(229, 77%, 61%)
HSVhsv(229, 66%, 91%)
CMYKcmyk(65.5%, 53.4%, 0%, 9%)
CIE-LABlab(49.80, 28.98, -65.98)
CIE-LCHlch(49.80, 72.06, 293.72°)
OKLaboklab(57.82% -0.0003 -0.1896)
OKLCHoklch(57.82% 0.19 269.9)
XYZxyz(23.2314, 18.2546, 78.6275)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CE8 #E8CC50
analogous
#50B8E8 #506CE8 #8050E8
triadic
#506CE8 #E8506C #6CE850
tetradic
#506CE8 #E850B8 #E8CC50 #50E880
square
#506CE8 #E850B8 #E8CC50 #50E880
split-complementary
#506CE8 #E88050 #B8E850
monochromatic
#1631A8 #1D41DE #506CE8 #8699EF #BCC7F6

Accessibility & contrast

On white

4.51
#506CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#506CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506CE8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CE8#FFFFFF#000000##000000
##506CE81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EEC
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506ce8;
/* rgb */ color: rgb(80, 108, 232);
/* oklch */ color: oklch(57.8% 0.190 269.9);
Tailwind
colors: {
  custom: {
    50: '#9195f0',
    500: '#506ce8',
    950: '#000000',
  },
}
SCSS
$custom: #506ce8;
$custom-light: #9195f0;
$custom-dark: #000000;
JSON
{
  "hex": "#506ce8",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 228.947,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.18962,
    "h": 269.9
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#506CE8
secondary
#E6DCAD
accent
#B30DD9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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