#565EB2#565EB2

#565EB2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.131 H 276.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#565EB2
RGBrgb(86, 94, 178)
HSLhsl(235, 37%, 52%)
HSVhsv(235, 52%, 70%)
CMYKcmyk(51.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(43.06, 20.79, -45.84)
CIE-LCHlch(43.06, 50.33, 294.39°)
OKLaboklab(51.71% 0.0153 -0.1304)
OKLCHoklch(51.71% 0.131 276.7)
XYZxyz(15.8738, 13.1972, 43.8217)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565EB2 #B2AA56
analogous
#568CB2 #565EB2 #7C56B2
triadic
#565EB2 #B2565E #5EB256
tetradic
#565EB2 #B2568C #B2AA56 #56B27C
square
#565EB2 #B2568C #B2AA56 #56B27C
split-complementary
#565EB2 #B27C56 #8CB256
monochromatic
#2C3161 #3F468B #565EB2 #8086C5 #AAAED8

Accessibility & contrast

On white

5.77
#565EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#565EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565EB2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565EB2#FFFFFF#000000##FFFFFF
##565EB21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#2F707F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #565eb2;
/* rgb */ color: rgb(86, 94, 178);
/* oklch */ color: oklch(51.7% 0.131 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c8bc9',
    500: '#565eb2',
    950: '#000000',
  },
}
SCSS
$custom: #565eb2;
$custom-light: #8c8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#565eb2",
  "rgb": {
    "r": 86,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 234.783,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.13129,
    "h": 276.7
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#565EB2
secondary
#C6C39E
accent
#C35ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #565EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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