#565AB7#565AB7

#565AB7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.144 H 278.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#565AB7
RGBrgb(86, 90, 183)
HSLhsl(238, 40%, 53%)
HSVhsv(238, 53%, 72%)
CMYKcmyk(53%, 50.8%, 0%, 28.2%)
CIE-LABlab(42.32, 24.91, -49.95)
CIE-LCHlch(42.32, 55.82, 296.51°)
OKLaboklab(51.25% 0.0205 -0.1425)
OKLCHoklch(51.25% 0.144 278.2)
XYZxyz(16.0385, 12.7087, 46.3985)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565AB7 #B7B356
analogous
#568AB7 #565AB7 #8356B7
triadic
#565AB7 #B7565A #5AB756
tetradic
#565AB7 #B7568A #B7B356 #56B783
square
#565AB7 #B7568A #B7B356 #56B783
split-complementary
#565AB7 #B78356 #8AB756
monochromatic
#2C2E67 #3E4292 #565AB7 #8184C9 #ACAEDC

Accessibility & contrast

On white

5.93
#565AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#565AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565AB7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565AB7#FFFFFF#000000##FFFFFF
##565AB71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#2B6F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565ab7;
/* rgb */ color: rgb(86, 90, 183);
/* oklch */ color: oklch(51.3% 0.144 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d88cd',
    500: '#565ab7',
    950: '#000000',
  },
}
SCSS
$custom: #565ab7;
$custom-light: #8d88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#565ab7",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 237.526,
    "s": 40.249,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.14398,
    "h": 278.2
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#565AB7
secondary
#C9C89F
accent
#CB58D0
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #565AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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