#5C64BB#5C64BB

#5C64BB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.135 H 276.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5C64BB
RGBrgb(92, 100, 187)
HSLhsl(235, 41%, 55%)
HSVhsv(235, 51%, 73%)
CMYKcmyk(50.8%, 46.5%, 0%, 26.7%)
CIE-LABlab(45.60, 21.27, -47.00)
CIE-LCHlch(45.60, 51.59, 294.35°)
OKLaboklab(53.92% 0.0162 -0.1336)
OKLCHoklch(53.92% 0.135 276.9)
XYZxyz(17.9376, 14.9764, 48.9496)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64BB #BBB35C
analogous
#5C94BB #5C64BB #835CBB
triadic
#5C64BB #BB5C64 #64BB5C
tetradic
#5C64BB #BB5C94 #BBB35C #5CBB83
square
#5C64BB #BB5C94 #BBB35C #5CBB83
split-complementary
#5C64BB #BB835C #94BB5C
monochromatic
#2E346F #40489A #5C64BB #878DCD #B2B6DF

Accessibility & contrast

On white

5.26
#5C64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5C64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64BB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64BB#FFFFFF#000000##FFFFFF
##5C64BB1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#357786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c64bb;
/* rgb */ color: rgb(92, 100, 187);
/* oklch */ color: oklch(53.9% 0.135 276.9);
Tailwind
colors: {
  custom: {
    50: '#9090d0',
    500: '#5c64bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c64bb;
$custom-light: #9090d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64bb",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 234.947,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.13461,
    "h": 276.9
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#5C64BB
secondary
#CDCAA5
accent
#C757D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5C64BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5C64BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva