#535AC7#535AC7

#535AC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.167 H 276.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#535AC7
RGBrgb(83, 90, 199)
HSLhsl(236, 51%, 55%)
HSVhsv(236, 58%, 78%)
CMYKcmyk(58.3%, 54.8%, 0%, 22%)
CIE-LABlab(43.17, 29.55, -57.89)
CIE-LCHlch(43.17, 65.00, 297.04°)
OKLaboklab(52.18% 0.018 -0.166)
OKLCHoklch(52.18% 0.167 276.2)
XYZxyz(17.5289, 13.2736, 55.6601)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535AC7 #C7C053
analogous
#5394C7 #535AC7 #8653C7
triadic
#535AC7 #C7535A #5AC753
tetradic
#535AC7 #C75394 #C7C053 #53C786
square
#535AC7 #C75394 #C7C053 #53C786
split-complementary
#535AC7 #C78653 #94C753
monochromatic
#272C78 #363DA7 #535AC7 #8186D6 #AFB3E5

Accessibility & contrast

On white

5.75
#535AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#535AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535AC7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535AC7#FFFFFF#000000##FFFFFF
##535AC71.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #535ac7;
/* rgb */ color: rgb(83, 90, 199);
/* oklch */ color: oklch(52.2% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e88d9',
    500: '#535ac7',
    950: '#000000',
  },
}
SCSS
$custom: #535ac7;
$custom-light: #8e88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#535ac7",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 236.379,
    "s": 50.877,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.16693,
    "h": 276.2
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#535AC7
secondary
#D3D0A3
accent
#D24DDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #535AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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