#5F64BC#5F64BC

#5F64BC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.135 H 278.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F64BC
RGBrgb(95, 100, 188)
HSLhsl(237, 41%, 55%)
HSVhsv(237, 49%, 74%)
CMYKcmyk(49.5%, 46.8%, 0%, 26.3%)
CIE-LABlab(45.88, 22.28, -47.13)
CIE-LCHlch(45.88, 52.13, 295.30°)
OKLaboklab(54.2% 0.0198 -0.1339)
OKLCHoklch(54.2% 0.135 278.4)
XYZxyz(18.3508, 15.1770, 49.5297)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64BC #BCB75F
analogous
#5F92BC #5F64BC #885FBC
triadic
#5F64BC #BC5F64 #64BC5F
tetradic
#5F64BC #BC5F92 #BCB75F #5FBC88
square
#5F64BC #BC5F92 #BCB75F #5FBC88
split-complementary
#5F64BC #BC885F #92BC5F
monochromatic
#2F3371 #41469C #5F64BC #8A8ECE #B5B8E0

Accessibility & contrast

On white

5.20
#5F64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5F64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64BC#FFFFFF#000000##FFFFFF
##5F64BC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#3B7787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f64bc;
/* rgb */ color: rgb(95, 100, 188);
/* oklch */ color: oklch(54.2% 0.135 278.4);
Tailwind
colors: {
  custom: {
    50: '#9290d1',
    500: '#5f64bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f64bc;
$custom-light: #9290d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64bc",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 236.774,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.1354,
    "h": 278.4
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#5F64BC
secondary
#CFCDA8
accent
#CA57D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5F64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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