#535CB7#535CB7

#535CB7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.142 H 276.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#535CB7
RGBrgb(83, 92, 183)
HSLhsl(235, 41%, 52%)
HSVhsv(235, 55%, 72%)
CMYKcmyk(54.6%, 49.7%, 0%, 28.2%)
CIE-LABlab(42.63, 23.01, -49.47)
CIE-LCHlch(42.63, 54.56, 294.95°)
OKLaboklab(51.43% 0.0147 -0.1411)
OKLCHoklch(51.43% 0.142 276)
XYZxyz(15.9389, 12.9111, 46.4428)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535CB7 #B7AE53
analogous
#538EB7 #535CB7 #7C53B7
triadic
#535CB7 #B7535C #5CB753
tetradic
#535CB7 #B7538E #B7AE53 #53B77C
square
#535CB7 #B7538E #B7AE53 #53B77C
split-complementary
#535CB7 #B77C53 #8EB753
monochromatic
#2A3065 #3C4490 #535CB7 #7E85C9 #A9AEDB

Accessibility & contrast

On white

5.86
#535CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#535CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535CB7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535CB7#FFFFFF#000000##FFFFFF
##535CB71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#227081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #535cb7;
/* rgb */ color: rgb(83, 92, 183);
/* oklch */ color: oklch(51.4% 0.142 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b8acd',
    500: '#535cb7',
    950: '#000000',
  },
}
SCSS
$custom: #535cb7;
$custom-light: #8b8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#535cb7",
  "rgb": {
    "r": 83,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 234.6,
    "s": 40.984,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.14192,
    "h": 276
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#535CB7
secondary
#C9C59D
accent
#C657D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #535CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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