#535FB5#535FB5

#535FB5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.135 H 274.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#535FB5
RGBrgb(83, 95, 181)
HSLhsl(233, 40%, 52%)
HSVhsv(233, 54%, 71%)
CMYKcmyk(54.1%, 47.5%, 0%, 29%)
CIE-LABlab(43.30, 20.46, -47.22)
CIE-LCHlch(43.30, 51.47, 293.43°)
OKLaboklab(51.9% 0.0111 -0.1345)
OKLCHoklch(51.9% 0.135 274.7)
XYZxyz(15.9973, 13.3585, 45.4426)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FB5 #B5A953
analogous
#5390B5 #535FB5 #7853B5
triadic
#535FB5 #B5535F #5FB553
tetradic
#535FB5 #B55390 #B5A953 #53B578
square
#535FB5 #B55390 #B5A953 #53B578
split-complementary
#535FB5 #B57853 #90B553
monochromatic
#2B3263 #3D478E #535FB5 #7E87C7 #A9AFDA

Accessibility & contrast

On white

5.72
#535FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#535FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FB5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FB5#FFFFFF#000000##FFFFFF
##535FB51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#237281
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #535fb5;
/* rgb */ color: rgb(83, 95, 181);
/* oklch */ color: oklch(51.9% 0.135 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a8ccc',
    500: '#535fb5',
    950: '#000000',
  },
}
SCSS
$custom: #535fb5;
$custom-light: #8a8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#535fb5",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 232.653,
    "s": 39.837,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.13499,
    "h": 274.7
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#535FB5
secondary
#C7C29C
accent
#C158D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #535FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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