#5652BF#5652BF

#5652BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.166 H 280.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5652BF
RGBrgb(86, 82, 191)
HSLhsl(242, 46%, 54%)
HSVhsv(242, 57%, 75%)
CMYKcmyk(55%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.85, 32.48, -56.99)
CIE-LCHlch(40.85, 65.60, 299.68°)
OKLaboklab(50.33% 0.0295 -0.1633)
OKLCHoklch(50.33% 0.166 280.3)
XYZxyz(16.2561, 11.7736, 50.6960)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652BF #BBBF52
analogous
#5284BF #5652BF #8C52BF
triadic
#5652BF #BF5652 #52BF56
tetradic
#5652BF #BF5284 #BBBF52 #52BF8C
square
#5652BF #BF5284 #BBBF52 #52BF8C
split-complementary
#5652BF #BF8C52 #84BF52
monochromatic
#2B296E #3D399B #5652BF #827FD0 #ADABE0

Accessibility & contrast

On white

6.26
#5652BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5652BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652BF#FFFFFF#000000##FFFFFF
##5652BF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#236B80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5652bf;
/* rgb */ color: rgb(86, 82, 191);
/* oklch */ color: oklch(50.3% 0.166 280.3);
Tailwind
colors: {
  custom: {
    50: '#8e83d3',
    500: '#5652bf',
    950: '#000000',
  },
}
SCSS
$custom: #5652bf;
$custom-light: #8e83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5652bf",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 242.202,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.16593,
    "h": 280.3
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#5652BF
secondary
#CCCE9F
accent
#D652D1
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5652BF

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

Preview Lab → · Contrast checker → · Palette generator →

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