#505CBB#505CBB

#505CBB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.148 H 274.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#505CBB
RGBrgb(80, 92, 187)
HSLhsl(233, 44%, 52%)
HSVhsv(233, 57%, 73%)
CMYKcmyk(57.2%, 50.8%, 0%, 26.7%)
CIE-LABlab(42.68, 23.72, -51.73)
CIE-LCHlch(42.68, 56.91, 294.64°)
OKLaboklab(51.5% 0.0118 -0.1479)
OKLCHoklch(51.5% 0.148 274.5)
XYZxyz(16.1021, 12.9465, 48.6545)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CBB #BBAF50
analogous
#5092BB #505CBB #7A50BB
triadic
#505CBB #BB505C #5CBB50
tetradic
#505CBB #BB5092 #BBAF50 #50BB7A
square
#505CBB #BB5092 #BBAF50 #50BB7A
split-complementary
#505CBB #BB7A50 #92BB50
monochromatic
#283068 #3A4494 #505CBB #7C85CC #A8AEDD

Accessibility & contrast

On white

5.85
#505CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#505CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CBB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CBB#FFFFFF#000000##FFFFFF
##505CBB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#0C7183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505cbb;
/* rgb */ color: rgb(80, 92, 187);
/* oklch */ color: oklch(51.5% 0.148 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ad0',
    500: '#505cbb',
    950: '#000000',
  },
}
SCSS
$custom: #505cbb;
$custom-light: #8a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#505cbb",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 233.271,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.515,
    "c": 0.14835,
    "h": 274.5
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#505CBB
secondary
#CBC59C
accent
#C554D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #505CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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