#535FAF#535FAF

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

Color values

HEX#535FAF
RGBrgb(83, 95, 175)
HSLhsl(232, 37%, 51%)
HSVhsv(232, 53%, 69%)
CMYKcmyk(52.6%, 45.7%, 0%, 31.4%)
CIE-LABlab(42.94, 18.50, -44.28)
CIE-LCHlch(42.94, 47.99, 292.68°)
OKLaboklab(51.51% 0.0103 -0.1259)
OKLCHoklch(51.51% 0.126 274.7)
XYZxyz(15.3949, 13.1176, 42.2699)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FAF #AFA353
analogous
#538DAF #535FAF #7553AF
triadic
#535FAF #AF535F #5FAF53
tetradic
#535FAF #AF538D #AFA353 #53AF75
square
#535FAF #AF538D #AFA353 #53AF75
split-complementary
#535FAF #AF7553 #8DAF53
monochromatic
#2B325D #3E4886 #535FAF #7D86C2 #A7ADD6

Accessibility & contrast

On white

5.80
#535FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#535FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FAF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FAF#FFFFFF#000000##FFFFFF
##535FAF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#2A707E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #535faf;
/* rgb */ color: rgb(83, 95, 175);
/* oklch */ color: oklch(51.5% 0.126 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a8cc7',
    500: '#535faf',
    950: '#000000',
  },
}
SCSS
$custom: #535faf;
$custom-light: #8a8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#535faf",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 232.174,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.12631,
    "h": 274.7
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#535FAF
secondary
#C3BE9A
accent
#BE5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #535FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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