#535F97#535F97

#535F97 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.1% C 0.091 H 273.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#535F97
RGBrgb(83, 95, 151)
HSLhsl(229, 29%, 46%)
HSVhsv(229, 45%, 59%)
CMYKcmyk(45%, 37.1%, 0%, 40.8%)
CIE-LABlab(41.62, 10.85, -32.14)
CIE-LCHlch(41.62, 33.92, 288.65°)
OKLaboklab(50.07% 0.0056 -0.0904)
OKLCHoklch(50.07% 0.091 273.5)
XYZxyz(13.2437, 12.2571, 30.9402)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535F97 #978B53
analogous
#538197 #535F97 #695397
triadic
#535F97 #97535F #5F9753
tetradic
#535F97 #975381 #978B53 #539769
square
#535F97 #975381 #978B53 #539769
split-complementary
#535F97 #976953 #819753
monochromatic
#282D48 #3D4670 #535F97 #747FB3 #9CA4C9

Accessibility & contrast

On white

6.08
#535F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #535F97
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535F97#FFFFFF#000000##FFFFFF
##535F971.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#3C6A74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #535f97;
/* rgb */ color: rgb(83, 95, 151);
/* oklch */ color: oklch(50.1% 0.091 273.5);
Tailwind
colors: {
  custom: {
    50: '#878cb6',
    500: '#535f97',
    950: '#000000',
  },
}
SCSS
$custom: #535f97;
$custom-light: #878cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#535f97",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 229.412,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.09058,
    "h": 273.5
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#535F97
secondary
#B6AF90
accent
#B462C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #535F97

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

Preview Lab → · Contrast checker → · Palette generator →

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