#535271#535271

#535271 is a mid, muted blue. Relative luminance 0.091; OKLCH L 45.2% C 0.050 H 285.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#535271
RGBrgb(83, 82, 113)
HSLhsl(242, 16%, 38%)
HSVhsv(242, 27%, 44%)
CMYKcmyk(26.5%, 27.4%, 0%, 55.7%)
CIE-LABlab(36.11, 7.95, -17.56)
CIE-LCHlch(36.11, 19.28, 294.36°)
OKLaboklab(45.22% 0.0136 -0.0484)
OKLCHoklch(45.22% 0.05 285.7)
XYZxyz(9.5645, 9.0657, 16.8655)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535271 #707152
analogous
#526071 #535271 #625271
triadic
#535271 #715352 #527153
tetradic
#535271 #715260 #707152 #527162
square
#535271 #715260 #707152 #527162
split-complementary
#535271 #716252 #607152
monochromatic
#1F1F2A #39384E #535271 #6D6C94 #908FAE

Accessibility & contrast

On white

7.46
#535271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#535271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535271
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535271#FFFFFF#000000##FFFFFF
##5352711.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#4C575D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #535271;
/* rgb */ color: rgb(83, 82, 113);
/* oklch */ color: oklch(45.2% 0.050 285.7);
Tailwind
colors: {
  custom: {
    50: '#84829a',
    500: '#535271',
    950: '#000000',
  },
}
SCSS
$custom: #535271;
$custom-light: #84829a;
$custom-dark: #000000;
JSON
{
  "hex": "#535271",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 241.935,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.0503,
    "h": 285.7
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#535271
secondary
#9B9C83
accent
#B96FB6
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #535271

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

Preview Lab → · Contrast checker → · Palette generator →

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