#5F64BF#5F64BF

#5F64BF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.140 H 278.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F64BF
RGBrgb(95, 100, 191)
HSLhsl(237, 43%, 56%)
HSVhsv(237, 50%, 75%)
CMYKcmyk(50.3%, 47.6%, 0%, 25.1%)
CIE-LABlab(46.05, 23.22, -48.59)
CIE-LCHlch(46.05, 53.85, 295.54°)
OKLaboklab(54.39% 0.0202 -0.1382)
OKLCHoklch(54.39% 0.14 278.3)
XYZxyz(18.6775, 15.3077, 51.2506)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64BF #BFBA5F
analogous
#5F94BF #5F64BF #8A5FBF
triadic
#5F64BF #BF5F64 #64BF5F
tetradic
#5F64BF #BF5F94 #BFBA5F #5FBF8A
square
#5F64BF #BF5F94 #BFBA5F #5FBF8A
split-complementary
#5F64BF #BF8A5F #94BF5F
monochromatic
#2F3275 #4045A1 #5F64BF #8B8ED0 #B6B9E2

Accessibility & contrast

On white

5.17
#5F64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5F64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64BF#FFFFFF#000000##FFFFFF
##5F64BF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#3369BD
Tritanopia (blue-blind)
#397888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f64bf;
/* rgb */ color: rgb(95, 100, 191);
/* oklch */ color: oklch(54.4% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#9390d3',
    500: '#5f64bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f64bf;
$custom-light: #9390d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64bf",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 236.875,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.13968,
    "h": 278.3
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#5F64BF
secondary
#D1CFA9
accent
#CC55D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5F64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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