#5D64BB#5D64BB

#5D64BB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.134 H 277.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5D64BB
RGBrgb(93, 100, 187)
HSLhsl(236, 41%, 55%)
HSVhsv(236, 50%, 73%)
CMYKcmyk(50.3%, 46.5%, 0%, 26.7%)
CIE-LABlab(45.67, 21.50, -46.88)
CIE-LCHlch(45.67, 51.58, 294.64°)
OKLaboklab(53.99% 0.0174 -0.1333)
OKLCHoklch(53.99% 0.134 277.4)
XYZxyz(18.0382, 15.0283, 48.9543)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64BB #BBB45D
analogous
#5D93BB #5D64BB #855DBB
triadic
#5D64BB #BB5D64 #64BB5D
tetradic
#5D64BB #BB5D93 #BBB45D #5DBB85
square
#5D64BB #BB5D93 #BBB45D #5DBB85
split-complementary
#5D64BB #BB855D #93BB5D
monochromatic
#2F336F #41479A #5D64BB #888DCD #B3B6DF

Accessibility & contrast

On white

5.24
#5D64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5D64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64BB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64BB#FFFFFF#000000##FFFFFF
##5D64BB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#377786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d64bb;
/* rgb */ color: rgb(93, 100, 187);
/* oklch */ color: oklch(54.0% 0.134 277.4);
Tailwind
colors: {
  custom: {
    50: '#9190d0',
    500: '#5d64bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d64bb;
$custom-light: #9190d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64bb",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 235.532,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.13439,
    "h": 277.4
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#5D64BB
secondary
#CECBA6
accent
#C857D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5D64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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