#5652BB#5652BB

#5652BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.160 H 280.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5652BB
RGBrgb(86, 82, 187)
HSLhsl(242, 44%, 53%)
HSVhsv(242, 56%, 73%)
CMYKcmyk(54%, 56.1%, 0%, 26.7%)
CIE-LABlab(40.57, 31.20, -55.11)
CIE-LCHlch(40.57, 63.33, 299.52°)
OKLaboklab(50.03% 0.0295 -0.1577)
OKLCHoklch(50.03% 0.16 280.6)
XYZxyz(15.8219, 11.5999, 48.4094)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652BB #B7BB52
analogous
#5282BB #5652BB #8B52BB
triadic
#5652BB #BB5652 #52BB56
tetradic
#5652BB #BB5282 #B7BB52 #52BB8B
square
#5652BB #BB5282 #B7BB52 #52BB8B
split-complementary
#5652BB #BB8B52 #82BB52
monochromatic
#2C2969 #3E3B95 #5652BB #817ECC #ACAADE

Accessibility & contrast

On white

6.32
#5652BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5652BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652BB#FFFFFF#000000##FFFFFF
##5652BB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#286A7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5652bb;
/* rgb */ color: rgb(86, 82, 187);
/* oklch */ color: oklch(50.0% 0.160 280.6);
Tailwind
colors: {
  custom: {
    50: '#8e82d0',
    500: '#5652bb',
    950: '#000000',
  },
}
SCSS
$custom: #5652bb;
$custom-light: #8e82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5652bb",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 242.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.16048,
    "h": 280.6
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#5652BB
secondary
#C9CB9E
accent
#D354CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5652BB

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

Preview Lab → · Contrast checker → · Palette generator →

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