#565FA5#565FA5

#565FA5 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.1% C 0.111 H 276.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#565FA5
RGBrgb(86, 95, 165)
HSLhsl(233, 31%, 49%)
HSVhsv(233, 48%, 65%)
CMYKcmyk(47.9%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.58, 16.01, -38.94)
CIE-LCHlch(42.58, 42.10, 292.34°)
OKLaboklab(51.1% 0.012 -0.1102)
OKLCHoklch(51.1% 0.111 276.2)
XYZxyz(14.7194, 12.8787, 37.3002)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565FA5 #A59C56
analogous
#5687A5 #565FA5 #7556A5
triadic
#565FA5 #A5565F #5FA556
tetradic
#565FA5 #A55687 #A59C56 #56A575
square
#565FA5 #A55687 #A59C56 #56A575
split-complementary
#565FA5 #A57556 #87A556
monochromatic
#2C3155 #41487D #565FA5 #7D84BB #A5AAD0

Accessibility & contrast

On white

5.87
#565FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#565FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565FA5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565FA5#FFFFFF#000000##FFFFFF
##565FA51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#3D62A3
Tritanopia (blue-blind)
#396E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #565fa5;
/* rgb */ color: rgb(86, 95, 165);
/* oklch */ color: oklch(51.1% 0.111 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a8cc0',
    500: '#565fa5',
    950: '#000000',
  },
}
SCSS
$custom: #565fa5;
$custom-light: #8a8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#565fa5",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 233.165,
    "s": 31.474,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.11083,
    "h": 276.2
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#565FA5
secondary
#BEBA99
accent
#BC60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #565FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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