#505FCA#505FCA

#505FCA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.165 H 273.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#505FCA
RGBrgb(80, 95, 202)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 60%, 79%)
CMYKcmyk(60.4%, 53%, 0%, 20.8%)
CIE-LABlab(44.45, 26.87, -57.57)
CIE-LCHlch(44.45, 63.53, 295.02°)
OKLaboklab(53.15% 0.0098 -0.165)
OKLCHoklch(53.15% 0.165 273.4)
XYZxyz(18.0576, 14.1527, 57.6458)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FCA #CABB50
analogous
#509CCA #505FCA #7E50CA
triadic
#505FCA #CA505F #5FCA50
tetradic
#505FCA #CA509C #CABB50 #50CA7E
square
#505FCA #CA509C #CABB50 #50CA7E
split-complementary
#505FCA #CA7E50 #9CCA50
monochromatic
#25307A #3342A9 #505FCA #7F8AD8 #AEB5E6

Accessibility & contrast

On white

5.48
#505FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#505FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FCA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FCA#FFFFFF#000000##FFFFFF
##505FCA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505fca;
/* rgb */ color: rgb(80, 95, 202);
/* oklch */ color: oklch(53.1% 0.165 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c8cdb',
    500: '#505fca',
    950: '#000000',
  },
}
SCSS
$custom: #505fca;
$custom-light: #8c8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#505fca",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 232.623,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.16532,
    "h": 273.4
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#505FCA
secondary
#D4CEA1
accent
#CB4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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