#535AC2#535AC2

#535AC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.160 H 276.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#535AC2
RGBrgb(83, 90, 194)
HSLhsl(236, 48%, 54%)
HSVhsv(236, 57%, 76%)
CMYKcmyk(57.2%, 53.6%, 0%, 23.9%)
CIE-LABlab(42.83, 27.90, -55.55)
CIE-LCHlch(42.83, 62.16, 296.67°)
OKLaboklab(51.81% 0.0178 -0.1591)
OKLCHoklch(51.81% 0.16 276.4)
XYZxyz(16.9579, 13.0452, 52.6528)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535AC2 #C2BB53
analogous
#5392C2 #535AC2 #8453C2
triadic
#535AC2 #C2535A #5AC253
tetradic
#535AC2 #C25392 #C2BB53 #53C284
square
#535AC2 #C25392 #C2BB53 #53C284
split-complementary
#535AC2 #C28453 #92C253
monochromatic
#282D72 #383F9F #535AC2 #8085D2 #ADB1E2

Accessibility & contrast

On white

5.82
#535AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#535AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535AC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535AC2#FFFFFF#000000##FFFFFF
##535AC21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#0E7285
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #535ac2;
/* rgb */ color: rgb(83, 90, 194);
/* oklch */ color: oklch(51.8% 0.160 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d88d5',
    500: '#535ac2',
    950: '#000000',
  },
}
SCSS
$custom: #535ac2;
$custom-light: #8d88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#535ac2",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 236.216,
    "s": 47.639,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.16005,
    "h": 276.4
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#535AC2
secondary
#D0CDA1
accent
#CF51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #535AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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