#505FC2#505FC2

#505FC2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.154 H 273.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#505FC2
RGBrgb(80, 95, 194)
HSLhsl(232, 48%, 54%)
HSVhsv(232, 59%, 76%)
CMYKcmyk(58.8%, 51%, 0%, 23.9%)
CIE-LABlab(43.92, 24.18, -53.80)
CIE-LCHlch(43.92, 58.98, 294.20°)
OKLaboklab(52.58% 0.0092 -0.1539)
OKLCHoklch(52.58% 0.154 273.4)
XYZxyz(17.1349, 13.7836, 52.7860)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FC2 #C2B350
analogous
#5098C2 #505FC2 #7A50C2
triadic
#505FC2 #C2505F #5FC250
tetradic
#505FC2 #C25098 #C2B350 #50C27A
square
#505FC2 #C25098 #C2B350 #50C27A
split-complementary
#505FC2 #C27A50 #98C250
monochromatic
#273170 #37459E #505FC2 #7D88D2 #ABB2E2

Accessibility & contrast

On white

5.59
#505FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#505FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FC2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FC2#FFFFFF#000000##FFFFFF
##505FC21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#0F63C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505fc2;
/* rgb */ color: rgb(80, 95, 194);
/* oklch */ color: oklch(52.6% 0.154 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cd5',
    500: '#505fc2',
    950: '#000000',
  },
}
SCSS
$custom: #505fc2;
$custom-light: #8b8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#505fc2",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 232.105,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.15423,
    "h": 273.4
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#505FC2
secondary
#CFC99F
accent
#C650D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #505FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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