#535FA7#535FA7

#535FA7 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 51.0% C 0.115 H 274.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#535FA7
RGBrgb(83, 95, 167)
HSLhsl(231, 34%, 49%)
HSVhsv(231, 50%, 65%)
CMYKcmyk(50.3%, 43.1%, 0%, 34.5%)
CIE-LABlab(42.48, 15.91, -40.30)
CIE-LCHlch(42.48, 43.32, 291.54°)
OKLaboklab(51.01% 0.009 -0.1142)
OKLCHoklch(51.01% 0.115 274.5)
XYZxyz(14.6323, 12.8126, 38.2538)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FA7 #A79B53
analogous
#5389A7 #535FA7 #7153A7
triadic
#535FA7 #A7535F #5FA753
tetradic
#535FA7 #A75389 #A79B53 #53A771
square
#535FA7 #A75389 #A79B53 #53A771
split-complementary
#535FA7 #A77153 #89A753
monochromatic
#2A3055 #3F487E #535FA7 #7A84BD #A3AAD1

Accessibility & contrast

On white

5.89
#535FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#535FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FA7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FA7#FFFFFF#000000##FFFFFF
##535FA71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#316E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #535fa7;
/* rgb */ color: rgb(83, 95, 167);
/* oklch */ color: oklch(51.0% 0.115 274.5);
Tailwind
colors: {
  custom: {
    50: '#898cc1',
    500: '#535fa7',
    950: '#000000',
  },
}
SCSS
$custom: #535fa7;
$custom-light: #898cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#535fa7",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 231.429,
    "s": 33.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.11457,
    "h": 274.5
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#535FA7
secondary
#BFB997
accent
#BA5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #535FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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