#565CB5#565CB5

#565CB5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.138 H 277.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#565CB5
RGBrgb(86, 92, 181)
HSLhsl(236, 39%, 52%)
HSVhsv(236, 52%, 71%)
CMYKcmyk(52.5%, 49.2%, 0%, 29%)
CIE-LABlab(42.71, 23.01, -48.15)
CIE-LCHlch(42.71, 53.36, 295.55°)
OKLaboklab(51.51% 0.018 -0.1372)
OKLCHoklch(51.51% 0.138 277.5)
XYZxyz(16.0028, 12.9679, 45.3669)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565CB5 #B5AF56
analogous
#568BB5 #565CB5 #8056B5
triadic
#565CB5 #B5565C #5CB556
tetradic
#565CB5 #B5568B #B5AF56 #56B580
square
#565CB5 #B5568B #B5AF56 #56B580
split-complementary
#565CB5 #B58056 #8BB556
monochromatic
#2C3065 #3F448F #565CB5 #8185C8 #ABAEDA

Accessibility & contrast

On white

5.84
#565CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#565CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565CB5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565CB5#FFFFFF#000000##FFFFFF
##565CB51.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#2D7080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #565cb5;
/* rgb */ color: rgb(86, 92, 181);
/* oklch */ color: oklch(51.5% 0.138 277.5);
Tailwind
colors: {
  custom: {
    50: '#8c8acc',
    500: '#565cb5',
    950: '#000000',
  },
}
SCSS
$custom: #565cb5;
$custom-light: #8c8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#565cb5",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 236.211,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.13837,
    "h": 277.5
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#565CB5
secondary
#C8C59F
accent
#C859CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #565CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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