#535BB5#535BB5

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

Color values

HEX#535BB5
RGBrgb(83, 91, 181)
HSLhsl(235, 40%, 52%)
HSVhsv(235, 54%, 71%)
CMYKcmyk(54.1%, 49.7%, 0%, 29%)
CIE-LABlab(42.24, 22.99, -48.92)
CIE-LCHlch(42.24, 54.05, 295.17°)
OKLaboklab(51.1% 0.0157 -0.1395)
OKLCHoklch(51.1% 0.14 276.4)
XYZxyz(15.6462, 12.6563, 45.3256)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535BB5 #B5AD53
analogous
#538CB5 #535BB5 #7C53B5
triadic
#535BB5 #B5535B #5BB553
tetradic
#535BB5 #B5538C #B5AD53 #53B57C
square
#535BB5 #B5538C #B5AD53 #53B57C
split-complementary
#535BB5 #B57C53 #8CB553
monochromatic
#2B2F63 #3D448E #535BB5 #7E84C7 #A9ADDA

Accessibility & contrast

On white

5.95
#535BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#535BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535BB5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535BB5#FFFFFF#000000##FFFFFF
##535BB51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#246F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #535bb5;
/* rgb */ color: rgb(83, 91, 181);
/* oklch */ color: oklch(51.1% 0.140 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b89cc',
    500: '#535bb5',
    950: '#000000',
  },
}
SCSS
$custom: #535bb5;
$custom-light: #8b89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#535bb5",
  "rgb": {
    "r": 83,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 235.102,
    "s": 39.837,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.14043,
    "h": 276.4
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#535BB5
secondary
#C7C49C
accent
#C658D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #535BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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