#5652AF#5652AF

#5652AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.144 H 281.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5652AF
RGBrgb(86, 82, 175)
HSLhsl(243, 37%, 50%)
HSVhsv(243, 53%, 69%)
CMYKcmyk(50.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(39.76, 27.37, -49.36)
CIE-LCHlch(39.76, 56.44, 299.01°)
OKLaboklab(49.17% 0.029 -0.1408)
OKLCHoklch(49.17% 0.144 281.6)
XYZxyz(14.5906, 11.1074, 41.9242)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652AF #ABAF52
analogous
#527CAF #5652AF #8552AF
triadic
#5652AF #AF5652 #52AF56
tetradic
#5652AF #AF527C #ABAF52 #52AF85
square
#5652AF #AF527C #ABAF52 #52AF85
split-complementary
#5652AF #AF8552 #7CAF52
monochromatic
#2D2B5C #413E86 #5652AF #7F7CC2 #A8A6D6

Accessibility & contrast

On white

6.52
#5652AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5652AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652AF#FFFFFF#000000##FFFFFF
##5652AF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#185AAD
Tritanopia (blue-blind)
#346778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5652af;
/* rgb */ color: rgb(86, 82, 175);
/* oklch */ color: oklch(49.2% 0.144 281.6);
Tailwind
colors: {
  custom: {
    50: '#8c82c7',
    500: '#5652af',
    950: '#000000',
  },
}
SCSS
$custom: #5652af;
$custom-light: #8c82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5652af",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 242.581,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.14381,
    "h": 281.6
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#5652AF
secondary
#C1C39A
accent
#CD5BC8
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5652AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5652AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva