#5652D3#5652D3

#5652D3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.192 H 278.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5652D3
RGBrgb(86, 82, 211)
HSLhsl(242, 59%, 57%)
HSVhsv(242, 61%, 83%)
CMYKcmyk(59.2%, 61.1%, 0%, 17.3%)
CIE-LABlab(42.33, 38.91, -66.17)
CIE-LCHlch(42.33, 76.76, 300.46°)
OKLaboklab(51.88% 0.0291 -0.1903)
OKLCHoklch(51.88% 0.192 278.7)
XYZxyz(18.6092, 12.7148, 63.0890)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652D3 #CFD352
analogous
#528FD3 #5652D3 #9652D3
triadic
#5652D3 #D35652 #52D356
tetradic
#5652D3 #D3528F #CFD352 #52D396
square
#5652D3 #D3528F #CFD352 #52D396
split-complementary
#5652D3 #D39652 #8FD352
monochromatic
#262388 #332FB9 #5652D3 #8683DF #B5B4EC

Accessibility & contrast

On white

5.93
#5652D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5652D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652D3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652D3#FFFFFF#000000##FFFFFF
##5652D31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5652d3;
/* rgb */ color: rgb(86, 82, 211);
/* oklch */ color: oklch(51.9% 0.192 278.7);
Tailwind
colors: {
  custom: {
    50: '#9283e1',
    500: '#5652d3',
    950: '#000000',
  },
}
SCSS
$custom: #5652d3;
$custom-light: #9283e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5652d3",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 241.86,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.19248,
    "h": 278.7
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#5652D3
secondary
#D9DAA6
accent
#E345DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652D3

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

Preview Lab → · Contrast checker → · Palette generator →

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