#565AB4#565AB4

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

Color values

HEX#565AB4
RGBrgb(86, 90, 180)
HSLhsl(237, 39%, 52%)
HSVhsv(237, 52%, 71%)
CMYKcmyk(52.2%, 50%, 0%, 29.4%)
CIE-LABlab(42.13, 23.95, -48.50)
CIE-LCHlch(42.13, 54.09, 296.28°)
OKLaboklab(51.05% 0.0202 -0.1382)
OKLCHoklch(51.05% 0.14 278.3)
XYZxyz(15.7296, 12.5851, 44.7715)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565AB4 #B4B056
analogous
#5689B4 #565AB4 #8156B4
triadic
#565AB4 #B4565A #5AB456
tetradic
#565AB4 #B45689 #B4B056 #56B481
square
#565AB4 #B45689 #B4B056 #56B481
split-complementary
#565AB4 #B48156 #89B456
monochromatic
#2C2E63 #3F428E #565AB4 #8083C7 #ABADDA

Accessibility & contrast

On white

5.97
#565AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#565AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565AB4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565AB4#FFFFFF#000000##FFFFFF
##565AB41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#2E6E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #565ab4;
/* rgb */ color: rgb(86, 90, 180);
/* oklch */ color: oklch(51.0% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c88cb',
    500: '#565ab4',
    950: '#000000',
  },
}
SCSS
$custom: #565ab4;
$custom-light: #8c88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#565ab4",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 237.447,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.13971,
    "h": 278.3
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#565AB4
secondary
#C7C69E
accent
#C959CE
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #565AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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