#535FAC#535FAC

#535FAC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.122 H 274.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#535FAC
RGBrgb(83, 95, 172)
HSLhsl(232, 35%, 50%)
HSVhsv(232, 52%, 67%)
CMYKcmyk(51.7%, 44.8%, 0%, 32.5%)
CIE-LABlab(42.76, 17.53, -42.79)
CIE-LCHlch(42.76, 46.24, 292.27°)
OKLaboklab(51.32% 0.0098 -0.1215)
OKLCHoklch(51.32% 0.122 274.6)
XYZxyz(15.1035, 13.0010, 40.7353)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FAC #ACA053
analogous
#538CAC #535FAC #7353AC
triadic
#535FAC #AC535F #5FAC53
tetradic
#535FAC #AC538C #ACA053 #53AC73
square
#535FAC #AC538C #ACA053 #53AC73
split-complementary
#535FAC #AC7353 #8CAC53
monochromatic
#2B3159 #3F4883 #535FAC #7C85C0 #A6ACD4

Accessibility & contrast

On white

5.83
#535FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#535FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FAC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FAC#FFFFFF#000000##FFFFFF
##535FAC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#3561AA
Tritanopia (blue-blind)
#2D707D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #535fac;
/* rgb */ color: rgb(83, 95, 172);
/* oklch */ color: oklch(51.3% 0.122 274.6);
Tailwind
colors: {
  custom: {
    50: '#898cc5',
    500: '#535fac',
    950: '#000000',
  },
}
SCSS
$custom: #535fac;
$custom-light: #898cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#535fac",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 231.91,
    "s": 34.902,
    "l": 50
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.12193,
    "h": 274.6
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#535FAC
secondary
#C1BC99
accent
#BC5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #535FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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