#565BB2#565BB2

#565BB2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.135 H 278.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#565BB2
RGBrgb(86, 91, 178)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 52%, 70%)
CMYKcmyk(51.7%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.27, 22.67, -47.10)
CIE-LCHlch(42.27, 52.28, 295.70°)
OKLaboklab(51.11% 0.0188 -0.1341)
OKLCHoklch(51.11% 0.135 278)
XYZxyz(15.6122, 12.6740, 43.7345)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565BB2 #B2AD56
analogous
#5689B2 #565BB2 #7F56B2
triadic
#565BB2 #B2565B #5BB256
tetradic
#565BB2 #B25689 #B2AD56 #56B27F
square
#565BB2 #B25689 #B2AD56 #56B27F
split-complementary
#565BB2 #B27F56 #89B256
monochromatic
#2C2F61 #3F448B #565BB2 #8084C5 #AAADD8

Accessibility & contrast

On white

5.94
#565BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#565BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565BB2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565BB2#FFFFFF#000000##FFFFFF
##565BB21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#306E7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565bb2;
/* rgb */ color: rgb(86, 91, 178);
/* oklch */ color: oklch(51.1% 0.135 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c89c9',
    500: '#565bb2',
    950: '#000000',
  },
}
SCSS
$custom: #565bb2;
$custom-light: #8c89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#565bb2",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 236.739,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.13545,
    "h": 278
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#565BB2
secondary
#C6C49E
accent
#C75ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #565BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#565BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva