#565EB5#565EB5

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

Color values

HEX#565EB5
RGBrgb(86, 94, 181)
HSLhsl(235, 39%, 52%)
HSVhsv(235, 52%, 71%)
CMYKcmyk(52.5%, 48.1%, 0%, 29%)
CIE-LABlab(43.24, 21.75, -47.31)
CIE-LCHlch(43.24, 52.07, 294.70°)
OKLaboklab(51.91% 0.0157 -0.1347)
OKLCHoklch(51.91% 0.136 276.6)
XYZxyz(16.1783, 13.3190, 45.4254)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565EB5 #B5AD56
analogous
#568EB5 #565EB5 #7D56B5
triadic
#565EB5 #B5565E #5EB556
tetradic
#565EB5 #B5568E #B5AD56 #56B57D
square
#565EB5 #B5568E #B5AD56 #56B57D
split-complementary
#565EB5 #B57D56 #8EB556
monochromatic
#2C3165 #3F458F #565EB5 #8187C8 #ABAFDA

Accessibility & contrast

On white

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

On black

3.66
#565EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##565EB5#FFFFFF#000000##FFFFFF
##565EB51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#2C7181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #565eb5;
/* rgb */ color: rgb(86, 94, 181);
/* oklch */ color: oklch(51.9% 0.136 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bcc',
    500: '#565eb5',
    950: '#000000',
  },
}
SCSS
$custom: #565eb5;
$custom-light: #8c8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#565eb5",
  "rgb": {
    "r": 86,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 234.947,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.13562,
    "h": 276.6
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#565EB5
secondary
#C8C59F
accent
#C559CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #565EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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