#505BE3#505BE3

#505BE3 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.204 H 273.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#505BE3
RGBrgb(80, 91, 227)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(64.8%, 59.9%, 0%, 11%)
CIE-LABlab(45.26, 37.77, -70.53)
CIE-LCHlch(45.26, 80.00, 298.17°)
OKLaboklab(54.32% 0.0139 -0.2032)
OKLCHoklch(54.32% 0.204 273.9)
XYZxyz(20.9099, 14.7319, 74.3998)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BE3 #E3D850
analogous
#50A5E3 #505BE3 #8E50E3
triadic
#505BE3 #E3505B #5BE350
tetradic
#505BE3 #E350A5 #E3D850 #50E38E
square
#505BE3 #E350A5 #E3D850 #50E38E
split-complementary
#505BE3 #E38E50 #A5E350
monochromatic
#19239F #222FD4 #505BE3 #858CEB #BABEF4

Accessibility & contrast

On white

5.32
#505BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#505BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BE3#FFFFFF#000000##FFFFFF
##505BE31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505be3;
/* rgb */ color: rgb(80, 91, 227);
/* oklch */ color: oklch(54.3% 0.204 273.9);
Tailwind
colors: {
  custom: {
    50: '#9189ed',
    500: '#505be3',
    950: '#000000',
  },
}
SCSS
$custom: #505be3;
$custom-light: #9189ed;
$custom-dark: #000000;
JSON
{
  "hex": "#505be3",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 235.51,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.20365,
    "h": 273.9
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#505BE3
secondary
#E4DFAB
accent
#C611D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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