#5F64CA#5F64CA

#5F64CA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.155 H 277.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F64CA
RGBrgb(95, 100, 202)
HSLhsl(237, 50%, 58%)
HSVhsv(237, 53%, 79%)
CMYKcmyk(53%, 50.5%, 0%, 20.8%)
CIE-LABlab(46.72, 26.70, -53.86)
CIE-LCHlch(46.72, 60.11, 296.37°)
OKLaboklab(55.12% 0.0213 -0.1537)
OKLCHoklch(55.12% 0.155 277.9)
XYZxyz(19.9338, 15.8103, 57.8670)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64CA #CAC55F
analogous
#5F99CA #5F64CA #8F5FCA
triadic
#5F64CA #CA5F64 #64CA5F
tetradic
#5F64CA #CA5F99 #CAC55F #5FCA8F
square
#5F64CA #CA5F99 #CAC55F #5FCA8F
split-complementary
#5F64CA #CA8F5F #99CA5F
monochromatic
#2B3083 #3B40B1 #5F64CA #8D91D9 #BBBDE8

Accessibility & contrast

On white

5.05
#5F64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5F64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64CA#FFFFFF#000000##FFFFFF
##5F64CA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#236BC8
Tritanopia (blue-blind)
#2F7B8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f64ca;
/* rgb */ color: rgb(95, 100, 202);
/* oklch */ color: oklch(55.1% 0.155 277.9);
Tailwind
colors: {
  custom: {
    50: '#9490db',
    500: '#5f64ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f64ca;
$custom-light: #9490db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64ca",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 237.196,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.15516,
    "h": 277.9
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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