#505FBC#505FBC

#505FBC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.146 H 273.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#505FBC
RGBrgb(80, 95, 188)
HSLhsl(232, 45%, 53%)
HSVhsv(232, 57%, 74%)
CMYKcmyk(57.4%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.54, 22.16, -50.94)
CIE-LCHlch(43.54, 55.55, 293.51°)
OKLaboklab(52.16% 0.0087 -0.1455)
OKLCHoklch(52.16% 0.146 273.4)
XYZxyz(16.4746, 13.5195, 49.3086)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FBC #BCAD50
analogous
#5095BC #505FBC #7750BC
triadic
#505FBC #BC505F #5FBC50
tetradic
#505FBC #BC5095 #BCAD50 #50BC77
square
#505FBC #BC5095 #BCAD50 #50BC77
split-complementary
#505FBC #BC7750 #95BC50
monochromatic
#283169 #394696 #505FBC #7C87CD #A9B0DE

Accessibility & contrast

On white

5.67
#505FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#505FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FBC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FBC#FFFFFF#000000##FFFFFF
##505FBC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#077484
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505fbc;
/* rgb */ color: rgb(80, 95, 188);
/* oklch */ color: oklch(52.2% 0.146 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a8cd1',
    500: '#505fbc',
    950: '#000000',
  },
}
SCSS
$custom: #505fbc;
$custom-light: #8a8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#505fbc",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 231.667,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.14578,
    "h": 273.4
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#505FBC
secondary
#CBC59C
accent
#C253D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #505FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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