#565CAF#565CAF

#565CAF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.130 H 277.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#565CAF
RGBrgb(86, 92, 175)
HSLhsl(236, 36%, 51%)
HSVhsv(236, 51%, 69%)
CMYKcmyk(50.9%, 47.4%, 0%, 31.4%)
CIE-LABlab(42.35, 21.08, -45.21)
CIE-LCHlch(42.35, 49.88, 295.00°)
OKLaboklab(51.11% 0.0173 -0.1286)
OKLCHoklch(51.11% 0.13 277.6)
XYZxyz(15.4004, 12.7270, 42.1942)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565CAF #AFA956
analogous
#5688AF #565CAF #7C56AF
triadic
#565CAF #AF565C #5CAF56
tetradic
#565CAF #AF5688 #AFA956 #56AF7C
square
#565CAF #AF5688 #AFA956 #56AF7C
split-complementary
#565CAF #AF7C56 #88AF56
monochromatic
#2D305E #404588 #565CAF #8084C3 #A9ACD6

Accessibility & contrast

On white

5.92
#565CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#565CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565CAF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565CAF#FFFFFF#000000##FFFFFF
##565CAF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#326E7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565caf;
/* rgb */ color: rgb(86, 92, 175);
/* oklch */ color: oklch(51.1% 0.130 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ac7',
    500: '#565caf',
    950: '#000000',
  },
}
SCSS
$custom: #565caf;
$custom-light: #8c8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#565caf",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 235.955,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.12973,
    "h": 277.6
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#565CAF
secondary
#C4C19D
accent
#C45CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #565CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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