#506FE9#506FE9

#506FE9 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.187 H 269.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#506FE9
RGBrgb(80, 111, 233)
HSLhsl(228, 78%, 61%)
HSVhsv(228, 66%, 91%)
CMYKcmyk(65.7%, 52.4%, 0%, 8.6%)
CIE-LABlab(50.63, 27.47, -65.19)
CIE-LCHlch(50.63, 70.75, 292.85°)
OKLaboklab(58.47% -0.0028 -0.1873)
OKLCHoklch(58.47% 0.187 269.1)
XYZxyz(23.6957, 18.9553, 79.4850)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FE9 #E9CA50
analogous
#50BCE9 #506FE9 #7E50E9
triadic
#506FE9 #E9506F #6FE950
tetradic
#506FE9 #E950BC #E9CA50 #50E97E
square
#506FE9 #E950BC #E9CA50 #50E97E
split-complementary
#506FE9 #E97E50 #BCE950
monochromatic
#1533A9 #1C44E0 #506FE9 #869CF0 #BDC8F7

Accessibility & contrast

On white

4.38
#506FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#506FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506FE9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FE9#FFFFFF#000000##000000
##506FE91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D80ED
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #506fe9;
/* rgb */ color: rgb(80, 111, 233);
/* oklch */ color: oklch(58.5% 0.187 269.1);
Tailwind
colors: {
  custom: {
    50: '#9197f1',
    500: '#506fe9',
    950: '#000000',
  },
}
SCSS
$custom: #506fe9;
$custom-light: #9197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#506fe9",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 227.843,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.18729,
    "h": 269.1
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#506FE9
secondary
#E7DBAE
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #506FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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