#5F64CB#5F64CB

#5F64CB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.157 H 277.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F64CB
RGBrgb(95, 100, 203)
HSLhsl(237, 51%, 58%)
HSVhsv(237, 53%, 80%)
CMYKcmyk(53.2%, 50.7%, 0%, 20.4%)
CIE-LABlab(46.79, 27.02, -54.33)
CIE-LCHlch(46.79, 60.68, 296.44°)
OKLaboklab(55.18% 0.0214 -0.1551)
OKLCHoklch(55.18% 0.157 277.9)
XYZxyz(20.0526, 15.8578, 58.4925)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64CB #CBC65F
analogous
#5F9ACB #5F64CB #905FCB
triadic
#5F64CB #CB5F64 #64CB5F
tetradic
#5F64CB #CB5F9A #CBC65F #5FCB90
square
#5F64CB #CB5F9A #CBC65F #5FCB90
split-complementary
#5F64CB #CB905F #9ACB5F
monochromatic
#2B2F85 #3A40B3 #5F64CB #8D91DA #BBBDE9

Accessibility & contrast

On white

5.03
#5F64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5F64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64CB#FFFFFF#000000##FFFFFF
##5F64CB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#216BC9
Tritanopia (blue-blind)
#2E7B8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f64cb;
/* rgb */ color: rgb(95, 100, 203);
/* oklch */ color: oklch(55.2% 0.157 277.9);
Tailwind
colors: {
  custom: {
    50: '#9490db',
    500: '#5f64cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f64cb;
$custom-light: #9490db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64cb",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 237.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.15655,
    "h": 277.9
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#5F64CB
secondary
#D8D6AD
accent
#D44DDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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