#5F64F6#5F64F6

#5F64F6 is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.3% C 0.214 H 276.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F64F6
RGBrgb(95, 100, 246)
HSLhsl(238, 89%, 67%)
HSVhsv(238, 61%, 96%)
CMYKcmyk(61.4%, 59.3%, 0%, 3.5%)
CIE-LABlab(49.74, 40.83, -73.88)
CIE-LCHlch(49.74, 84.42, 298.93°)
OKLaboklab(58.32% 0.0225 -0.2126)
OKLCHoklch(58.32% 0.214 276)
XYZxyz(25.9056, 18.1990, 89.3185)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64F6 #F6F15F
analogous
#5FB0F6 #5F64F6 #A65FF6
triadic
#5F64F6 #F65F64 #64F65F
tetradic
#5F64F6 #F65FB0 #F6F15F #5FF6A6
square
#5F64F6 #F65FB0 #F6F15F #5FF6A6
split-complementary
#5F64F6 #F6A65F #B0F65F
monochromatic
#0C12CF #252CF3 #5F64F6 #999CF9 #D3D4FD

Accessibility & contrast

On white

4.53
#5F64F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5F64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F64F6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64F6#FFFFFF#000000##000000
##5F64F61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#0088A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f64f6;
/* rgb */ color: rgb(95, 100, 246);
/* oklch */ color: oklch(58.3% 0.214 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b90fa',
    500: '#5f64f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f64f6;
$custom-light: #9b90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64f6",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 238.013,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.21377,
    "h": 276
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#5F64F6
secondary
#F1EFC0
accent
#DE00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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