#565BB5#565BB5

#565BB5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.140 H 277.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#565BB5
RGBrgb(86, 91, 181)
HSLhsl(237, 39%, 52%)
HSVhsv(237, 52%, 71%)
CMYKcmyk(52.5%, 49.7%, 0%, 29%)
CIE-LABlab(42.45, 23.64, -48.56)
CIE-LCHlch(42.45, 54.01, 295.96°)
OKLaboklab(51.31% 0.0191 -0.1384)
OKLCHoklch(51.31% 0.14 277.9)
XYZxyz(15.9167, 12.7958, 45.3382)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565BB5 #B5B056
analogous
#568BB5 #565BB5 #8056B5
triadic
#565BB5 #B5565B #5BB556
tetradic
#565BB5 #B5568B #B5B056 #56B580
square
#565BB5 #B5568B #B5B056 #56B580
split-complementary
#565BB5 #B58056 #8BB556
monochromatic
#2C2F65 #3F438F #565BB5 #8184C8 #ABAEDA

Accessibility & contrast

On white

5.90
#565BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#565BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565BB5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565BB5#FFFFFF#000000##FFFFFF
##565BB51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#2561B3
Tritanopia (blue-blind)
#2D6F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565bb5;
/* rgb */ color: rgb(86, 91, 181);
/* oklch */ color: oklch(51.3% 0.140 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c89cc',
    500: '#565bb5',
    950: '#000000',
  },
}
SCSS
$custom: #565bb5;
$custom-light: #8c89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#565bb5",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 236.842,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.13976,
    "h": 277.9
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#565BB5
secondary
#C8C69F
accent
#C959CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #565BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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