#565AB2#565AB2

#565AB2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.137 H 278.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#565AB2
RGBrgb(86, 90, 178)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 52%, 70%)
CMYKcmyk(51.7%, 49.4%, 0%, 30.2%)
CIE-LABlab(42.01, 23.30, -47.52)
CIE-LCHlch(42.01, 52.93, 296.12°)
OKLaboklab(50.91% 0.02 -0.1354)
OKLCHoklch(50.91% 0.137 278.4)
XYZxyz(15.5273, 12.5042, 43.7062)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565AB2 #B2AE56
analogous
#5688B2 #565AB2 #8056B2
triadic
#565AB2 #B2565A #5AB256
tetradic
#565AB2 #B25688 #B2AE56 #56B280
square
#565AB2 #B25688 #B2AE56 #56B280
split-complementary
#565AB2 #B28056 #88B256
monochromatic
#2C2F61 #3F438B #565AB2 #8083C5 #AAACD8

Accessibility & contrast

On white

6.00
#565AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#565AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565AB2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565AB2#FFFFFF#000000##FFFFFF
##565AB21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#306D7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #565ab2;
/* rgb */ color: rgb(86, 90, 178);
/* oklch */ color: oklch(50.9% 0.137 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c88c9',
    500: '#565ab2',
    950: '#000000',
  },
}
SCSS
$custom: #565ab2;
$custom-light: #8c88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#565ab2",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 237.391,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.13685,
    "h": 278.4
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#565AB2
secondary
#C6C49E
accent
#C85ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #565AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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