#5652D8#5652D8

#5652D8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.199 H 278.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5652D8
RGBrgb(86, 82, 216)
HSLhsl(242, 63%, 58%)
HSVhsv(242, 62%, 85%)
CMYKcmyk(60.2%, 62%, 0%, 15.3%)
CIE-LABlab(42.72, 40.52, -68.40)
CIE-LCHlch(42.72, 79.50, 300.64°)
OKLaboklab(52.29% 0.0288 -0.1968)
OKLCHoklch(52.29% 0.199 278.3)
XYZxyz(19.2457, 12.9694, 66.4416)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652D8 #D4D852
analogous
#5291D8 #5652D8 #9952D8
triadic
#5652D8 #D85652 #52D856
tetradic
#5652D8 #D85291 #D4D852 #52D899
square
#5652D8 #D85291 #D4D852 #52D899
split-complementary
#5652D8 #D89952 #91D852
monochromatic
#24208F #302CC1 #5652D8 #8784E3 #B8B6EF

Accessibility & contrast

On white

5.84
#5652D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5652D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652D8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652D8#FFFFFF#000000##FFFFFF
##5652D81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5652d8;
/* rgb */ color: rgb(86, 82, 216);
/* oklch */ color: oklch(52.3% 0.199 278.3);
Tailwind
colors: {
  custom: {
    50: '#9283e5',
    500: '#5652d8',
    950: '#000000',
  },
}
SCSS
$custom: #5652d8;
$custom-light: #9283e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5652d8",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 241.791,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.19893,
    "h": 278.3
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#5652D8
secondary
#DCDDA8
accent
#E642E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5652D8

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

Preview Lab → · Contrast checker → · Palette generator →

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