#565BAF#565BAF

#565BAF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.131 H 278.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#565BAF
RGBrgb(86, 91, 175)
HSLhsl(237, 36%, 51%)
HSVhsv(237, 51%, 69%)
CMYKcmyk(50.9%, 48%, 0%, 31.4%)
CIE-LABlab(42.08, 21.71, -45.63)
CIE-LCHlch(42.08, 50.53, 295.44°)
OKLaboklab(50.91% 0.0185 -0.1298)
OKLCHoklch(50.91% 0.131 278.1)
XYZxyz(15.3143, 12.5549, 42.1655)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565BAF #AFAA56
analogous
#5687AF #565BAF #7D56AF
triadic
#565BAF #AF565B #5BAF56
tetradic
#565BAF #AF5687 #AFAA56 #56AF7D
square
#565BAF #AF5687 #AFAA56 #56AF7D
split-complementary
#565BAF #AF7D56 #87AF56
monochromatic
#2D2F5E #404488 #565BAF #8083C3 #A9ACD6

Accessibility & contrast

On white

5.98
#565BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#565BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565BAF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565BAF#FFFFFF#000000##FFFFFF
##565BAF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#326D7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #565baf;
/* rgb */ color: rgb(86, 91, 175);
/* oklch */ color: oklch(50.9% 0.131 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c89c7',
    500: '#565baf',
    950: '#000000',
  },
}
SCSS
$custom: #565baf;
$custom-light: #8c89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#565baf",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 236.629,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.13113,
    "h": 278.1
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#565BAF
secondary
#C4C29D
accent
#C55CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #565BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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