#5F64FF#5F64FF

#5F64FF is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.0% C 0.225 H 275.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F64FF
RGBrgb(95, 100, 255)
HSLhsl(238, 100%, 69%)
HSVhsv(238, 63%, 100%)
CMYKcmyk(62.7%, 60.8%, 0%, 0%)
CIE-LABlab(50.41, 43.72, -77.79)
CIE-LCHlch(50.41, 89.24, 299.34°)
OKLaboklab(59.02% 0.0221 -0.2241)
OKLCHoklch(59.02% 0.225 275.6)
XYZxyz(27.3206, 18.7650, 96.7706)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64FF #FFFA5F
analogous
#5FB4FF #5F64FF #AA5FFF
triadic
#5F64FF #FF5F64 #64FF5F
tetradic
#5F64FF #FF5FB4 #FFFA5F #5FFFAA
square
#5F64FF #FF5FB4 #FFFA5F #5FFFAA
split-complementary
#5F64FF #FFAA5F #B4FF5F
monochromatic
#0007E4 #2229FF #5F64FF #9C9FFF #D9DBFF

Accessibility & contrast

On white

4.42
#5F64FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F64FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F64FF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64FF#FFFFFF#000000##000000
##5F64FF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#008BA8
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f64ff;
/* rgb */ color: rgb(95, 100, 255);
/* oklch */ color: oklch(59.0% 0.225 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c90ff',
    500: '#5f64ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f64ff;
$custom-light: #9c90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64ff",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 255
  },
  "hsl": {
    "h": 238.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.22515,
    "h": 275.6
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#5F64FF
secondary
#F5F3C5
accent
#DE00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5F64FF

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

Preview Lab → · Contrast checker → · Palette generator →

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