#5652D4#5652D4

#5652D4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.194 H 278.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5652D4
RGBrgb(86, 82, 212)
HSLhsl(242, 60%, 58%)
HSVhsv(242, 61%, 83%)
CMYKcmyk(59.4%, 61.3%, 0%, 16.9%)
CIE-LABlab(42.41, 39.23, -66.61)
CIE-LCHlch(42.41, 77.31, 300.50°)
OKLaboklab(51.96% 0.029 -0.1916)
OKLCHoklch(51.96% 0.194 278.6)
XYZxyz(18.7349, 12.7651, 63.7512)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652D4 #D0D452
analogous
#528FD4 #5652D4 #9752D4
triadic
#5652D4 #D45652 #52D456
tetradic
#5652D4 #D4528F #D0D452 #52D497
square
#5652D4 #D4528F #D0D452 #52D497
split-complementary
#5652D4 #D49752 #8FD452
monochromatic
#252289 #332EBA #5652D4 #8683E0 #B6B4EC

Accessibility & contrast

On white

5.91
#5652D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5652D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652D4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652D4#FFFFFF#000000##FFFFFF
##5652D41.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5652d4;
/* rgb */ color: rgb(86, 82, 212);
/* oklch */ color: oklch(52.0% 0.194 278.6);
Tailwind
colors: {
  custom: {
    50: '#9283e2',
    500: '#5652d4',
    950: '#000000',
  },
}
SCSS
$custom: #5652d4;
$custom-light: #9283e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5652d4",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 241.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.19377,
    "h": 278.6
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#5652D4
secondary
#D9DBA7
accent
#E344DE
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5652D4

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

Preview Lab → · Contrast checker → · Palette generator →

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