#535AAF#535AAF

#535AAF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.133 H 277.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#535AAF
RGBrgb(83, 90, 175)
HSLhsl(235, 37%, 51%)
HSVhsv(235, 53%, 69%)
CMYKcmyk(52.6%, 48.6%, 0%, 31.4%)
CIE-LABlab(41.60, 21.66, -46.42)
CIE-LCHlch(41.60, 51.22, 295.02°)
OKLaboklab(50.49% 0.0162 -0.1322)
OKLCHoklch(50.49% 0.133 277)
XYZxyz(14.9589, 12.2455, 42.1245)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535AAF #AFA853
analogous
#5388AF #535AAF #7A53AF
triadic
#535AAF #AF535A #5AAF53
tetradic
#535AAF #AF5388 #AFA853 #53AF7A
square
#535AAF #AF5388 #AFA853 #53AF7A
split-complementary
#535AAF #AF7A53 #88AF53
monochromatic
#2B2F5D #3E4486 #535AAF #7D82C2 #A7AAD6

Accessibility & contrast

On white

6.09
#535AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#535AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535AAF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535AAF#FFFFFF#000000##FFFFFF
##535AAF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#2B6D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #535aaf;
/* rgb */ color: rgb(83, 90, 175);
/* oklch */ color: oklch(50.5% 0.133 277.0);
Tailwind
colors: {
  custom: {
    50: '#8a88c7',
    500: '#535aaf',
    950: '#000000',
  },
}
SCSS
$custom: #535aaf;
$custom-light: #8a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#535aaf",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 235.435,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.13319,
    "h": 277
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#535AAF
secondary
#C3C09A
accent
#C45BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #535AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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