#5652DF#5652DF

#5652DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.208 H 277.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5652DF
RGBrgb(86, 82, 223)
HSLhsl(242, 69%, 60%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(61.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.27, 42.76, -71.49)
CIE-LCHlch(43.27, 83.31, 300.88°)
OKLaboklab(52.86% 0.0283 -0.2059)
OKLCHoklch(52.86% 0.208 277.8)
XYZxyz(20.1700, 13.3392, 71.3095)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652DF #DBDF52
analogous
#5295DF #5652DF #9C52DF
triadic
#5652DF #DF5652 #52DF56
tetradic
#5652DF #DF5295 #DBDF52 #52DF9C
square
#5652DF #DF5295 #DBDF52 #52DF9C
split-complementary
#5652DF #DF9C52 #95DF52
monochromatic
#201D9A #2B26CE #5652DF #8886E9 #BBB9F2

Accessibility & contrast

On white

5.72
#5652DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5652DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652DF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652DF#FFFFFF#000000##FFFFFF
##5652DF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5652df;
/* rgb */ color: rgb(86, 82, 223);
/* oklch */ color: oklch(52.9% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#9483ea',
    500: '#5652df',
    950: '#000000',
  },
}
SCSS
$custom: #5652df;
$custom-light: #9483ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5652df",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 241.702,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.20785,
    "h": 277.8
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#5652DF
secondary
#E0E2AB
accent
#EC3CE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5652DF

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

Preview Lab → · Contrast checker → · Palette generator →

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