#535797#535797

#535797 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.4% C 0.102 H 279.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#535797
RGBrgb(83, 87, 151)
HSLhsl(236, 29%, 46%)
HSVhsv(236, 45%, 59%)
CMYKcmyk(45%, 42.4%, 0%, 40.8%)
CIE-LABlab(39.39, 15.91, -35.66)
CIE-LCHlch(39.39, 39.05, 294.04°)
OKLaboklab(48.36% 0.0162 -0.1007)
OKLCHoklch(48.36% 0.102 279.1)
XYZxyz(12.5597, 10.8892, 30.7122)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535797 #979353
analogous
#537997 #535797 #715397
triadic
#535797 #975357 #579753
tetradic
#535797 #975379 #979353 #539771
square
#535797 #975379 #979353 #539771
split-complementary
#535797 #977153 #799753
monochromatic
#282948 #3D4070 #535797 #7478B3 #9C9FC9

Accessibility & contrast

On white

6.61
#535797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#535797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535797
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535797#FFFFFF#000000##FFFFFF
##5357971.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#3B5A96
Tritanopia (blue-blind)
#3D646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #535797;
/* rgb */ color: rgb(83, 87, 151);
/* oklch */ color: oklch(48.4% 0.102 279.1);
Tailwind
colors: {
  custom: {
    50: '#8786b6',
    500: '#535797',
    950: '#000000',
  },
}
SCSS
$custom: #535797;
$custom-light: #8786b6;
$custom-dark: #000000;
JSON
{
  "hex": "#535797",
  "rgb": {
    "r": 83,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 236.471,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.102,
    "h": 279.1
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#535797
secondary
#B6B390
accent
#C062C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #535797

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

Preview Lab → · Contrast checker → · Palette generator →

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