#5652C4#5652C4

#5652C4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.173 H 279.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5652C4
RGBrgb(86, 82, 196)
HSLhsl(242, 49%, 55%)
HSVhsv(242, 58%, 77%)
CMYKcmyk(56.1%, 58.2%, 0%, 23.1%)
CIE-LABlab(41.21, 34.09, -59.32)
CIE-LCHlch(41.21, 68.42, 299.88°)
OKLaboklab(50.71% 0.0295 -0.1701)
OKLCHoklch(50.71% 0.173 279.8)
XYZxyz(16.8157, 11.9974, 53.6435)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652C4 #C0C452
analogous
#5287C4 #5652C4 #8F52C4
triadic
#5652C4 #C45652 #52C456
tetradic
#5652C4 #C45287 #C0C452 #52C48F
square
#5652C4 #C45287 #C0C452 #52C48F
split-complementary
#5652C4 #C48F52 #87C452
monochromatic
#2A2874 #3B37A2 #5652C4 #8380D4 #AFADE3

Accessibility & contrast

On white

6.18
#5652C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5652C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652C4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652C4#FFFFFF#000000##FFFFFF
##5652C41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#1C6D83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5652c4;
/* rgb */ color: rgb(86, 82, 196);
/* oklch */ color: oklch(50.7% 0.173 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f83d7',
    500: '#5652c4',
    950: '#000000',
  },
}
SCSS
$custom: #5652c4;
$custom-light: #8f83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5652c4",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 242.105,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.17268,
    "h": 279.8
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#5652C4
secondary
#CFD1A1
accent
#D94FD4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5652C4

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

Preview Lab → · Contrast checker → · Palette generator →

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