#535BB2#535BB2

#535BB2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.136 H 276.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#535BB2
RGBrgb(83, 91, 178)
HSLhsl(235, 38%, 51%)
HSVhsv(235, 53%, 70%)
CMYKcmyk(53.4%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.05, 22.01, -47.46)
CIE-LCHlch(42.05, 52.31, 294.88°)
OKLaboklab(50.89% 0.0153 -0.1353)
OKLCHoklch(50.89% 0.136 276.5)
XYZxyz(15.3417, 12.5345, 43.7218)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535BB2 #B2AA53
analogous
#538AB2 #535BB2 #7A53B2
triadic
#535BB2 #B2535B #5BB253
tetradic
#535BB2 #B2538A #B2AA53 #53B27A
square
#535BB2 #B2538A #B2AA53 #53B27A
split-complementary
#535BB2 #B27A53 #8AB253
monochromatic
#2B2F60 #3E448A #535BB2 #7D83C5 #A8ACD8

Accessibility & contrast

On white

5.99
#535BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#535BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535BB2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535BB2#FFFFFF#000000##FFFFFF
##535BB21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#275FB0
Tritanopia (blue-blind)
#286E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #535bb2;
/* rgb */ color: rgb(83, 91, 178);
/* oklch */ color: oklch(50.9% 0.136 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a89c9',
    500: '#535bb2',
    950: '#000000',
  },
}
SCSS
$custom: #535bb2;
$custom-light: #8a89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#535bb2",
  "rgb": {
    "r": 83,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 234.947,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.13613,
    "h": 276.5
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#535BB2
secondary
#C5C29B
accent
#C45ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #535BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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