#565FB1#565FB1

#565FB1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.128 H 276.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#565FB1
RGBrgb(86, 95, 177)
HSLhsl(234, 37%, 52%)
HSVhsv(234, 51%, 69%)
CMYKcmyk(51.4%, 46.3%, 0%, 30.6%)
CIE-LABlab(43.27, 19.83, -44.92)
CIE-LCHlch(43.27, 49.10, 293.82°)
OKLaboklab(51.85% 0.014 -0.1277)
OKLCHoklch(51.85% 0.128 276.2)
XYZxyz(15.8633, 13.3362, 43.3247)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565FB1 #B1A856
analogous
#568DB1 #565FB1 #7B56B1
triadic
#565FB1 #B1565F #5FB156
tetradic
#565FB1 #B1568D #B1A856 #56B17B
square
#565FB1 #B1568D #B1A856 #56B17B
split-complementary
#565FB1 #B17B56 #8DB156
monochromatic
#2C3260 #40478A #565FB1 #8087C4 #AAAED8

Accessibility & contrast

On white

5.73
#565FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#565FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565FB1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565FB1#FFFFFF#000000##FFFFFF
##565FB11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#30717F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #565fb1;
/* rgb */ color: rgb(86, 95, 177);
/* oklch */ color: oklch(51.8% 0.128 276.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cc9',
    500: '#565fb1',
    950: '#000000',
  },
}
SCSS
$custom: #565fb1;
$custom-light: #8c8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#565fb1",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 234.066,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.12846,
    "h": 276.2
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#565FB1
secondary
#C5C19D
accent
#C25BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #565FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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