#505FBE#505FBE

#505FBE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.149 H 273.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#505FBE
RGBrgb(80, 95, 190)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(57.9%, 50%, 0%, 25.5%)
CIE-LABlab(43.66, 22.83, -51.90)
CIE-LCHlch(43.66, 56.70, 293.75°)
OKLaboklab(52.3% 0.0089 -0.1483)
OKLCHoklch(52.3% 0.149 273.4)
XYZxyz(16.6917, 13.6063, 50.4519)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FBE #BEAF50
analogous
#5096BE #505FBE #7850BE
triadic
#505FBE #BE505F #5FBE50
tetradic
#505FBE #BE5096 #BEAF50 #50BE78
square
#505FBE #BE5096 #BEAF50 #50BE78
split-complementary
#505FBE #BE7850 #96BE50
monochromatic
#28316C #394698 #505FBE #7D88CF #A9B1DF

Accessibility & contrast

On white

5.64
#505FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#505FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FBE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FBE#FFFFFF#000000##FFFFFF
##505FBE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505fbe;
/* rgb */ color: rgb(80, 95, 190);
/* oklch */ color: oklch(52.3% 0.149 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a8cd2',
    500: '#505fbe',
    950: '#000000',
  },
}
SCSS
$custom: #505fbe;
$custom-light: #8a8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#505fbe",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 231.818,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.1486,
    "h": 273.4
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#505FBE
secondary
#CDC69D
accent
#C452D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #505FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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