#535FCF#535FCF

#535FCF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.171 H 274.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#535FCF
RGBrgb(83, 95, 207)
HSLhsl(234, 56%, 57%)
HSVhsv(234, 60%, 81%)
CMYKcmyk(59.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.98, 29.09, -59.58)
CIE-LCHlch(44.98, 66.30, 296.03°)
OKLaboklab(53.7% 0.0134 -0.1709)
OKLCHoklch(53.7% 0.171 274.5)
XYZxyz(18.9183, 14.5269, 60.8264)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535FCF #CFC353
analogous
#539DCF #535FCF #8553CF
triadic
#535FCF #CF535F #5FCF53
tetradic
#535FCF #CF539D #CFC353 #53CF85
square
#535FCF #CF539D #CFC353 #53CF85
split-complementary
#535FCF #CF8553 #9DCF53
monochromatic
#252E83 #323EB3 #535FCF #838CDC #B3B8EA

Accessibility & contrast

On white

5.38
#535FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#535FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535FCF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535FCF#FFFFFF#000000##FFFFFF
##535FCF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1170D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #535fcf;
/* rgb */ color: rgb(83, 95, 207);
/* oklch */ color: oklch(53.7% 0.171 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f8cde',
    500: '#535fcf',
    950: '#000000',
  },
}
SCSS
$custom: #535fcf;
$custom-light: #8f8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#535fcf",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 234.194,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.1714,
    "h": 274.5
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#535FCF
secondary
#D8D3A6
accent
#D148E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #535FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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