#535AAA#535AAA

#535AAA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.126 H 277.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#535AAA
RGBrgb(83, 90, 170)
HSLhsl(235, 34%, 50%)
HSVhsv(235, 51%, 67%)
CMYKcmyk(51.2%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.30, 20.04, -43.95)
CIE-LCHlch(41.30, 48.30, 294.51°)
OKLaboklab(50.17% 0.0155 -0.125)
OKLCHoklch(50.17% 0.126 277.1)
XYZxyz(14.4769, 12.0527, 39.5860)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535AAA #AAA353
analogous
#5386AA #535AAA #7753AA
triadic
#535AAA #AA535A #5AAA53
tetradic
#535AAA #AA5386 #AAA353 #53AA77
square
#535AAA #AA5386 #AAA353 #53AA77
split-complementary
#535AAA #AA7753 #86AA53
monochromatic
#2B2E58 #3F4481 #535AAA #7B81BF #A5A8D3

Accessibility & contrast

On white

6.16
#535AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#535AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535AAA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535AAA#FFFFFF#000000##FFFFFF
##535AAA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#2F6B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #535aaa;
/* rgb */ color: rgb(83, 90, 170);
/* oklch */ color: oklch(50.2% 0.126 277.1);
Tailwind
colors: {
  custom: {
    50: '#8988c4',
    500: '#535aaa',
    950: '#000000',
  },
}
SCSS
$custom: #535aaa;
$custom-light: #8988c4;
$custom-dark: #000000;
JSON
{
  "hex": "#535aaa",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 235.172,
    "s": 34.387,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.12593,
    "h": 277.1
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#535AAA
secondary
#C0BD99
accent
#C25DCA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #535AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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