#535EB5#535EB5

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

Color values

HEX#535EB5
RGBrgb(83, 94, 181)
HSLhsl(233, 40%, 52%)
HSVhsv(233, 54%, 71%)
CMYKcmyk(54.1%, 48.1%, 0%, 29%)
CIE-LABlab(43.03, 21.10, -47.65)
CIE-LCHlch(43.03, 52.11, 293.88°)
OKLaboklab(51.7% 0.0123 -0.1358)
OKLCHoklch(51.7% 0.136 275.2)
XYZxyz(15.9078, 13.1795, 45.4128)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535EB5 #B5AA53
analogous
#538FB5 #535EB5 #7953B5
triadic
#535EB5 #B5535E #5EB553
tetradic
#535EB5 #B5538F #B5AA53 #53B579
square
#535EB5 #B5538F #B5AA53 #53B579
split-complementary
#535EB5 #B57953 #8FB553
monochromatic
#2B3163 #3D468E #535EB5 #7E86C7 #A9AEDA

Accessibility & contrast

On white

5.78
#535EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#535EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535EB5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535EB5#FFFFFF#000000##FFFFFF
##535EB51.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#247181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #535eb5;
/* rgb */ color: rgb(83, 94, 181);
/* oklch */ color: oklch(51.7% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b8bcc',
    500: '#535eb5',
    950: '#000000',
  },
}
SCSS
$custom: #535eb5;
$custom-light: #8b8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#535eb5",
  "rgb": {
    "r": 83,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 233.265,
    "s": 39.837,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51695,
    "c": 0.13635,
    "h": 275.2
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#535EB5
secondary
#C7C39C
accent
#C258D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #535EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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