#5664B2#5664B2

#5664B2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.123 H 273.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5664B2
RGBrgb(86, 100, 178)
HSLhsl(231, 37%, 52%)
HSVhsv(231, 52%, 70%)
CMYKcmyk(51.7%, 43.8%, 0%, 30.2%)
CIE-LABlab(44.67, 17.02, -43.27)
CIE-LCHlch(44.67, 46.49, 291.47°)
OKLaboklab(52.94% 0.0081 -0.1228)
OKLCHoklch(52.94% 0.123 273.8)
XYZxyz(16.4282, 14.3061, 44.0065)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5664B2 #B2A456
analogous
#5692B2 #5664B2 #7656B2
triadic
#5664B2 #B25664 #64B256
tetradic
#5664B2 #B25692 #B2A456 #56B276
square
#5664B2 #B25692 #B2A456 #56B276
split-complementary
#5664B2 #B27656 #92B256
monochromatic
#2C3461 #3F4B8B #5664B2 #808BC5 #AAB1D8

Accessibility & contrast

On white

5.44
#5664B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5664B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5664B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5664B2#FFFFFF#000000##FFFFFF
##5664B21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#2E7582
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5664b2;
/* rgb */ color: rgb(86, 100, 178);
/* oklch */ color: oklch(52.9% 0.123 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c8fc9',
    500: '#5664b2',
    950: '#000000',
  },
}
SCSS
$custom: #5664b2;
$custom-light: #8c8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5664b2",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 230.87,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.12309,
    "h": 273.8
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#5664B2
secondary
#C6C09E
accent
#BC5ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5664B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5664B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva