#5651DB#5651DB

#5651DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.204 H 278.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5651DB
RGBrgb(86, 81, 219)
HSLhsl(242, 66%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.7%, 63%, 0%, 14.1%)
CIE-LABlab(42.73, 42.07, -70.10)
CIE-LCHlch(42.73, 81.76, 300.97°)
OKLaboklab(52.37% 0.0294 -0.2018)
OKLCHoklch(52.37% 0.204 278.3)
XYZxyz(19.5623, 12.9763, 68.4779)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651DB #D6DB51
analogous
#5191DB #5651DB #9B51DB
triadic
#5651DB #DB5651 #51DB56
tetradic
#5651DB #DB5191 #D6DB51 #51DB9B
square
#5651DB #DB5191 #D6DB51 #51DB9B
split-complementary
#5651DB #DB9B51 #91DB51
monochromatic
#231E93 #2F29C6 #5651DB #8784E5 #B9B6F0

Accessibility & contrast

On white

5.84
#5651DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5651DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651DB#FFFFFF#000000##FFFFFF
##5651DB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5651db;
/* rgb */ color: rgb(86, 81, 219);
/* oklch */ color: oklch(52.4% 0.204 278.3);
Tailwind
colors: {
  custom: {
    50: '#9382e7',
    500: '#5651db',
    950: '#000000',
  },
}
SCSS
$custom: #5651db;
$custom-light: #9382e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5651db",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 242.174,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.20396,
    "h": 278.3
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#5651DB
secondary
#DDDFA9
accent
#E93FE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5651DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5651DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva