#565AB5#565AB5

#565AB5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.141 H 278.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#565AB5
RGBrgb(86, 90, 181)
HSLhsl(237, 39%, 52%)
HSVhsv(237, 52%, 71%)
CMYKcmyk(52.5%, 50.3%, 0%, 29%)
CIE-LABlab(42.19, 24.27, -48.98)
CIE-LCHlch(42.19, 54.66, 296.36°)
OKLaboklab(51.12% 0.0203 -0.1397)
OKLCHoklch(51.12% 0.141 278.3)
XYZxyz(15.8318, 12.6260, 45.3099)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565AB5 #B5B156
analogous
#5689B5 #565AB5 #8256B5
triadic
#565AB5 #B5565A #5AB556
tetradic
#565AB5 #B55689 #B5B156 #56B582
square
#565AB5 #B55689 #B5B156 #56B582
split-complementary
#565AB5 #B58256 #89B556
monochromatic
#2C2E65 #3F428F #565AB5 #8184C8 #ABADDA

Accessibility & contrast

On white

5.96
#565AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#565AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565AB5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565AB5#FFFFFF#000000##FFFFFF
##565AB51.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#2D6E7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565ab5;
/* rgb */ color: rgb(86, 90, 181);
/* oklch */ color: oklch(51.1% 0.141 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c88cc',
    500: '#565ab5',
    950: '#000000',
  },
}
SCSS
$custom: #565ab5;
$custom-light: #8c88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#565ab5",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 237.474,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.14113,
    "h": 278.3
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#565AB5
secondary
#C8C69F
accent
#CA59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #565AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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