#5652C8#5652C8

#5652C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.178 H 279.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5652C8
RGBrgb(86, 82, 200)
HSLhsl(242, 52%, 55%)
HSVhsv(242, 59%, 78%)
CMYKcmyk(57%, 59%, 0%, 21.6%)
CIE-LABlab(41.50, 35.37, -61.17)
CIE-LCHlch(41.50, 70.66, 300.04°)
OKLaboklab(51.01% 0.0295 -0.1756)
OKLCHoklch(51.01% 0.178 279.5)
XYZxyz(17.2771, 12.1820, 56.0733)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652C8 #C4C852
analogous
#5289C8 #5652C8 #9152C8
triadic
#5652C8 #C85652 #52C856
tetradic
#5652C8 #C85289 #C4C852 #52C891
square
#5652C8 #C85289 #C4C852 #52C891
split-complementary
#5652C8 #C89152 #89C852
monochromatic
#292779 #3935A8 #5652C8 #8380D7 #B1AFE6

Accessibility & contrast

On white

6.11
#5652C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5652C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652C8#FFFFFF#000000##FFFFFF
##5652C81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#146E85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5652c8;
/* rgb */ color: rgb(86, 82, 200);
/* oklch */ color: oklch(51.0% 0.178 279.5);
Tailwind
colors: {
  custom: {
    50: '#9083da',
    500: '#5652c8',
    950: '#000000',
  },
}
SCSS
$custom: #5652c8;
$custom-light: #9083da;
$custom-dark: #000000;
JSON
{
  "hex": "#5652c8",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 242.034,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.17802,
    "h": 279.5
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#5652C8
secondary
#D2D4A2
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652C8

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

Preview Lab → · Contrast checker → · Palette generator →

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