#5656D3#5656D3

#5656D3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.188 H 277.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5656D3
RGBrgb(86, 86, 211)
HSLhsl(240, 59%, 58%)
HSVhsv(240, 59%, 83%)
CMYKcmyk(59.2%, 59.2%, 0%, 17.3%)
CIE-LABlab(43.26, 36.49, -64.65)
CIE-LCHlch(43.26, 74.23, 299.44°)
OKLaboklab(52.57% 0.0254 -0.1858)
OKLCHoklch(52.57% 0.188 277.8)
XYZxyz(18.9196, 13.3358, 63.1925)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656D3 #D3D356
analogous
#5694D3 #5656D3 #9456D3
triadic
#5656D3 #D35656 #56D356
tetradic
#5656D3 #D35694 #D3D356 #56D394
square
#5656D3 #D35694 #D3D356 #56D394
split-complementary
#5656D3 #D39456 #94D356
monochromatic
#24248B #3131BB #5656D3 #8787E0 #B7B7EC

Accessibility & contrast

On white

5.73
#5656D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5656D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656D3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656D3#FFFFFF#000000##FFFFFF
##5656D31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5656d3;
/* rgb */ color: rgb(86, 86, 211);
/* oklch */ color: oklch(52.6% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#9186e1',
    500: '#5656d3',
    950: '#000000',
  },
}
SCSS
$custom: #5656d3;
$custom-light: #9186e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5656d3",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 240,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.18751,
    "h": 277.8
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#5656D3
secondary
#DBDBAA
accent
#E246E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656D3

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

Preview Lab → · Contrast checker → · Palette generator →

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