#535EB2#535EB2

#535EB2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.132 H 275.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#535EB2
RGBrgb(83, 94, 178)
HSLhsl(233, 38%, 51%)
HSVhsv(233, 53%, 70%)
CMYKcmyk(53.4%, 47.2%, 0%, 30.2%)
CIE-LABlab(42.85, 20.11, -46.18)
CIE-LCHlch(42.85, 50.37, 293.53°)
OKLaboklab(51.5% 0.0119 -0.1315)
OKLCHoklch(51.5% 0.132 275.2)
XYZxyz(15.6033, 13.0577, 43.8090)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535EB2 #B2A753
analogous
#538DB2 #535EB2 #7753B2
triadic
#535EB2 #B2535E #5EB253
tetradic
#535EB2 #B2538D #B2A753 #53B277
square
#535EB2 #B2538D #B2A753 #53B277
split-complementary
#535EB2 #B27753 #8DB253
monochromatic
#2B3160 #3E478A #535EB2 #7D86C5 #A8ADD8

Accessibility & contrast

On white

5.81
#535EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #535EB2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535EB2#FFFFFF#000000##FFFFFF
##535EB21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#27707F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #535eb2;
/* rgb */ color: rgb(83, 94, 178);
/* oklch */ color: oklch(51.5% 0.132 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a8bc9',
    500: '#535eb2',
    950: '#000000',
  },
}
SCSS
$custom: #535eb2;
$custom-light: #8a8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#535eb2",
  "rgb": {
    "r": 83,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 233.053,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.13203,
    "h": 275.2
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#535EB2
secondary
#C5C19B
accent
#C15ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #535EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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