#535CB2#535CB2

#535CB2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.135 H 276.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#535CB2
RGBrgb(83, 92, 178)
HSLhsl(234, 38%, 51%)
HSVhsv(234, 53%, 70%)
CMYKcmyk(53.4%, 48.3%, 0%, 30.2%)
CIE-LABlab(42.32, 21.38, -47.04)
CIE-LCHlch(42.32, 51.66, 294.44°)
OKLaboklab(51.09% 0.0142 -0.134)
OKLCHoklch(51.09% 0.135 276)
XYZxyz(15.4278, 12.7067, 43.7505)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535CB2 #B2A953
analogous
#538BB2 #535CB2 #7953B2
triadic
#535CB2 #B2535C #5CB253
tetradic
#535CB2 #B2538B #B2A953 #53B279
square
#535CB2 #B2538B #B2A953 #53B279
split-complementary
#535CB2 #B27953 #8BB253
monochromatic
#2B3060 #3E458A #535CB2 #7D84C5 #A8ACD8

Accessibility & contrast

On white

5.93
#535CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#535CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535CB2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535CB2#FFFFFF#000000##FFFFFF
##535CB21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#286F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #535cb2;
/* rgb */ color: rgb(83, 92, 178);
/* oklch */ color: oklch(51.1% 0.135 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a8ac9',
    500: '#535cb2',
    950: '#000000',
  },
}
SCSS
$custom: #535cb2;
$custom-light: #8a8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#535cb2",
  "rgb": {
    "r": 83,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 234.316,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.13476,
    "h": 276
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#535CB2
secondary
#C5C19B
accent
#C35ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #535CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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