#565FAF#565FAF

#565FAF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.126 H 276.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#565FAF
RGBrgb(86, 95, 175)
HSLhsl(234, 36%, 51%)
HSVhsv(234, 51%, 69%)
CMYKcmyk(50.9%, 45.7%, 0%, 31.4%)
CIE-LABlab(43.15, 19.19, -43.93)
CIE-LCHlch(43.15, 47.94, 293.60°)
OKLaboklab(51.72% 0.0137 -0.1248)
OKLCHoklch(51.72% 0.126 276.2)
XYZxyz(15.6654, 13.2571, 42.2825)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565FAF #AFA656
analogous
#568BAF #565FAF #7956AF
triadic
#565FAF #AF565F #5FAF56
tetradic
#565FAF #AF568B #AFA656 #56AF79
square
#565FAF #AF568B #AFA656 #56AF79
split-complementary
#565FAF #AF7956 #8BAF56
monochromatic
#2D325E #404788 #565FAF #8086C3 #A9AED6

Accessibility & contrast

On white

5.75
#565FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#565FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565FAF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565FAF#FFFFFF#000000##FFFFFF
##565FAF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#32707E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #565faf;
/* rgb */ color: rgb(86, 95, 175);
/* oklch */ color: oklch(51.7% 0.126 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b8cc7',
    500: '#565faf',
    950: '#000000',
  },
}
SCSS
$custom: #565faf;
$custom-light: #8b8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#565faf",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 233.933,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.12556,
    "h": 276.2
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#565FAF
secondary
#C4C09D
accent
#C05CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #565FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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