#505697#505697

#505697 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.104 H 277.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#505697
RGBrgb(80, 86, 151)
HSLhsl(235, 31%, 45%)
HSVhsv(235, 47%, 59%)
CMYKcmyk(47%, 43%, 0%, 40.8%)
CIE-LABlab(38.89, 15.77, -36.47)
CIE-LCHlch(38.89, 39.73, 293.38°)
OKLaboklab(47.92% 0.014 -0.1031)
OKLCHoklch(47.92% 0.104 277.7)
XYZxyz(12.2203, 10.5948, 30.6732)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505697 #979150
analogous
#507997 #505697 #6E5097
triadic
#505697 #975056 #569750
tetradic
#505697 #975079 #979150 #50976E
square
#505697 #975079 #979150 #50976E
split-complementary
#505697 #976E50 #799750
monochromatic
#262847 #3B3F6F #505697 #7176B4 #999DC9

Accessibility & contrast

On white

6.73
#505697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#505697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505697
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505697#FFFFFF#000000##FFFFFF
##5056971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#37636F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #505697;
/* rgb */ color: rgb(80, 86, 151);
/* oklch */ color: oklch(47.9% 0.104 277.7);
Tailwind
colors: {
  custom: {
    50: '#8585b6',
    500: '#505697',
    950: '#000000',
  },
}
SCSS
$custom: #505697;
$custom-light: #8585b6;
$custom-dark: #000000;
JSON
{
  "hex": "#505697",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 234.93,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.10409,
    "h": 277.7
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#505697
secondary
#B6B28D
accent
#BE61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #505697

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

Preview Lab → · Contrast checker → · Palette generator →

#505697 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva