#535FD7#535FD7

#535FD7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.182 H 274.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#535FD7
RGBrgb(83, 95, 215)
HSLhsl(235, 62%, 58%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(61.4%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.54, 31.76, -63.26)
CIE-LCHlch(45.54, 70.79, 296.66°)
OKLaboklab(54.29% 0.0137 -0.1817)
OKLCHoklch(54.29% 0.182 274.3)
XYZxyz(19.9212, 14.9281, 66.1084)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FD7 #D7CB53
analogous
#53A1D7 #535FD7 #8953D7
triadic
#535FD7 #D7535F #5FD753
tetradic
#535FD7 #D753A1 #D7CB53 #53D789
square
#535FD7 #D753A1 #D7CB53 #53D789
split-complementary
#535FD7 #D78953 #A1D753
monochromatic
#212B8E #2D3AC0 #535FD7 #858DE3 #B6BBEE

Accessibility & contrast

On white

5.27
#535FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#535FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FD7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FD7#FFFFFF#000000##FFFFFF
##535FD71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #535fd7;
/* rgb */ color: rgb(83, 95, 215);
/* oklch */ color: oklch(54.3% 0.182 274.3);
Tailwind
colors: {
  custom: {
    50: '#908ce4',
    500: '#535fd7',
    950: '#000000',
  },
}
SCSS
$custom: #535fd7;
$custom-light: #908ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#535fd7",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 234.545,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.18221,
    "h": 274.3
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#535FD7
secondary
#DDD8A9
accent
#D742E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #535FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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