#565FD4#565FD4

#565FD4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.177 H 275.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#565FD4
RGBrgb(86, 95, 212)
HSLhsl(236, 59%, 58%)
HSVhsv(236, 59%, 83%)
CMYKcmyk(59.4%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.52, 31.29, -61.57)
CIE-LCHlch(45.52, 69.06, 296.94°)
OKLaboklab(54.26% 0.0169 -0.1766)
OKLCHoklch(54.26% 0.177 275.5)
XYZxyz(19.8098, 14.9148, 64.1095)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565FD4 #D4CB56
analogous
#569ED4 #565FD4 #8C56D4
triadic
#565FD4 #D4565F #5FD456
tetradic
#565FD4 #D4569E #D4CB56 #56D48C
square
#565FD4 #D4569E #D4CB56 #56D48C
split-complementary
#565FD4 #D48C56 #9ED456
monochromatic
#242B8C #303ABD #565FD4 #878DE0 #B8BBED

Accessibility & contrast

On white

5.27
#565FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#565FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565FD4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565FD4#FFFFFF#000000##FFFFFF
##565FD41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #565fd4;
/* rgb */ color: rgb(86, 95, 212);
/* oklch */ color: oklch(54.3% 0.177 275.5);
Tailwind
colors: {
  custom: {
    50: '#918ce2',
    500: '#565fd4',
    950: '#000000',
  },
}
SCSS
$custom: #565fd4;
$custom-light: #918ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#565fd4",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 235.714,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.17745,
    "h": 275.5
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#565FD4
secondary
#DCD8AA
accent
#D745E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #565FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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