#535F8A#535F8A

#535F8A is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.4% C 0.071 H 271.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#535F8A
RGBrgb(83, 95, 138)
HSLhsl(227, 25%, 43%)
HSVhsv(227, 40%, 54%)
CMYKcmyk(39.9%, 31.2%, 0%, 45.9%)
CIE-LABlab(40.99, 6.89, -25.32)
CIE-LCHlch(40.99, 26.24, 285.22°)
OKLaboklab(49.37% 0.0021 -0.0706)
OKLCHoklch(49.37% 0.071 271.7)
XYZxyz(12.2456, 11.8578, 25.6834)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535F8A #8A7E53
analogous
#537A8A #535F8A #62538A
triadic
#535F8A #8A535F #5F8A53
tetradic
#535F8A #8A537A #8A7E53 #538A62
square
#535F8A #8A537A #8A7E53 #538A62
split-complementary
#535F8A #8A6253 #7A8A53
monochromatic
#252A3E #3C4564 #535F8A #717DA9 #97A0C0

Accessibility & contrast

On white

6.23
#535F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#535F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535F8A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535F8A#FFFFFF#000000##FFFFFF
##535F8A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#42686E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #535f8a;
/* rgb */ color: rgb(83, 95, 138);
/* oklch */ color: oklch(49.4% 0.071 271.7);
Tailwind
colors: {
  custom: {
    50: '#858cac',
    500: '#535f8a',
    950: '#000000',
  },
}
SCSS
$custom: #535f8a;
$custom-light: #858cac;
$custom-dark: #000000;
JSON
{
  "hex": "#535f8a",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 226.909,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.07068,
    "h": 271.7
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#535F8A
secondary
#AEA68B
accent
#AD66C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #535F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#535F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva