#5F64CD#5F64CD

#5F64CD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.159 H 277.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5F64CD
RGBrgb(95, 100, 205)
HSLhsl(237, 52%, 59%)
HSVhsv(237, 54%, 80%)
CMYKcmyk(53.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.91, 27.66, -55.27)
CIE-LCHlch(46.91, 61.81, 296.58°)
OKLaboklab(55.32% 0.0216 -0.1579)
OKLCHoklch(55.32% 0.159 277.8)
XYZxyz(20.2925, 15.9537, 59.7558)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64CD #CDC85F
analogous
#5F9BCD #5F64CD #915FCD
triadic
#5F64CD #CD5F64 #64CD5F
tetradic
#5F64CD #CD5F9B #CDC85F #5FCD91
square
#5F64CD #CD5F9B #CDC85F #5FCD91
split-complementary
#5F64CD #CD915F #9BCD5F
monochromatic
#2A2F87 #393FB6 #5F64CD #8E91DC #BCBEEA

Accessibility & contrast

On white

5.01
#5F64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5F64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64CD#FFFFFF#000000##FFFFFF
##5F64CD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#2C7B8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f64cd;
/* rgb */ color: rgb(95, 100, 205);
/* oklch */ color: oklch(55.3% 0.159 277.8);
Tailwind
colors: {
  custom: {
    50: '#9490dd',
    500: '#5f64cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f64cd;
$custom-light: #9490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64cd",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 237.273,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.15933,
    "h": 277.8
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#5F64CD
secondary
#DAD8AE
accent
#D54CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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