#505EE9#505EE9

#505EE9 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.3% C 0.208 H 273.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#505EE9
RGBrgb(80, 94, 233)
HSLhsl(235, 78%, 61%)
HSVhsv(235, 66%, 91%)
CMYKcmyk(65.7%, 59.7%, 0%, 8.6%)
CIE-LABlab(46.43, 37.95, -72.01)
CIE-LCHlch(46.43, 81.40, 297.79°)
OKLaboklab(55.33% 0.0114 -0.2075)
OKLCHoklch(55.33% 0.208 273.1)
XYZxyz(22.0140, 15.5921, 78.9244)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EE9 #E9DB50
analogous
#50ABE9 #505EE9 #8F50E9
triadic
#505EE9 #E9505E #5EE950
tetradic
#505EE9 #E950AB #E9DB50 #50E98F
square
#505EE9 #E950AB #E9DB50 #50E98F
split-complementary
#505EE9 #E98F50 #ABE950
monochromatic
#1523A9 #1C2EE0 #505EE9 #8690F0 #BDC2F7

Accessibility & contrast

On white

5.10
#505EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#505EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EE9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EE9#FFFFFF#000000##FFFFFF
##505EE91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #505ee9;
/* rgb */ color: rgb(80, 94, 233);
/* oklch */ color: oklch(55.3% 0.208 273.1);
Tailwind
colors: {
  custom: {
    50: '#928bf1',
    500: '#505ee9',
    950: '#000000',
  },
}
SCSS
$custom: #505ee9;
$custom-light: #928bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ee9",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 234.51,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.20782,
    "h": 273.1
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#505EE9
secondary
#E7E2AE
accent
#C70CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #505EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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