#5651DD#5651DD

#5651DD is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.206 H 278.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5651DD
RGBrgb(86, 81, 221)
HSLhsl(242, 67%, 59%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(61.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.89, 42.71, -70.98)
CIE-LCHlch(42.89, 82.84, 301.04°)
OKLaboklab(52.53% 0.0293 -0.2044)
OKLCHoklch(52.53% 0.207 278.1)
XYZxyz(19.8271, 13.0822, 69.8729)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651DD #D8DD51
analogous
#5192DD #5651DD #9C51DD
triadic
#5651DD #DD5651 #51DD56
tetradic
#5651DD #DD5192 #D8DD51 #51DD9C
square
#5651DD #DD5192 #D8DD51 #51DD9C
split-complementary
#5651DD #DD9C51 #92DD51
monochromatic
#221D96 #2D27C9 #5651DD #8884E7 #B9B7F1

Accessibility & contrast

On white

5.81
#5651DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5651DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651DD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651DD#FFFFFF#000000##FFFFFF
##5651DD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5651dd;
/* rgb */ color: rgb(86, 81, 221);
/* oklch */ color: oklch(52.5% 0.206 278.1);
Tailwind
colors: {
  custom: {
    50: '#9382e9',
    500: '#5651dd',
    950: '#000000',
  },
}
SCSS
$custom: #5651dd;
$custom-light: #9382e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5651dd",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 242.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.2065,
    "h": 278.1
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#5651DD
secondary
#DEE0AA
accent
#EA3EE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5651DD

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

Preview Lab → · Contrast checker → · Palette generator →

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