#506EDA#506EDA

#506EDA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.168 H 268.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#506EDA
RGBrgb(80, 110, 218)
HSLhsl(227, 65%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(63.3%, 49.5%, 0%, 14.5%)
CIE-LABlab(49.40, 22.94, -58.74)
CIE-LCHlch(49.40, 63.06, 291.33°)
OKLaboklab(57.22% -0.0033 -0.1683)
OKLCHoklch(57.22% 0.168 268.9)
XYZxyz(21.5348, 17.9174, 68.6396)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506EDA #DABC50
analogous
#50B3DA #506EDA #7750DA
triadic
#506EDA #DA506E #6EDA50
tetradic
#506EDA #DA50B3 #DABC50 #50DA77
square
#506EDA #DA50B3 #DABC50 #50DA77
split-complementary
#506EDA #DA7750 #B3DA50
monochromatic
#1F3791 #294BC3 #506EDA #8398E5 #B5C2EF

Accessibility & contrast

On white

4.58
#506EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#506EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506EDA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506EDA#FFFFFF#000000##000000
##506EDA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDE
Deuteranopia (green-blind)
#0C70D8
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #506eda;
/* rgb */ color: rgb(80, 110, 218);
/* oklch */ color: oklch(57.2% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#8e97e6',
    500: '#506eda',
    950: '#000000',
  },
}
SCSS
$custom: #506eda;
$custom-light: #8e97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#506eda",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 226.957,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.16832,
    "h": 268.9
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#506EDA
secondary
#DED2A8
accent
#C340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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