#5F64F3#5F64F3

#5F64F3 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.1% C 0.210 H 276.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F64F3
RGBrgb(95, 100, 243)
HSLhsl(238, 86%, 66%)
HSVhsv(238, 61%, 95%)
CMYKcmyk(60.9%, 58.8%, 0%, 4.7%)
CIE-LABlab(49.52, 39.87, -72.57)
CIE-LCHlch(49.52, 82.80, 298.78°)
OKLaboklab(58.08% 0.0225 -0.2087)
OKLCHoklch(58.08% 0.21 276.2)
XYZxyz(25.4489, 18.0163, 86.9130)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64F3 #F3EE5F
analogous
#5FAEF3 #5F64F3 #A45FF3
triadic
#5F64F3 #F35F64 #64F35F
tetradic
#5F64F3 #F35FAE #F3EE5F #5FF3A4
square
#5F64F3 #F35FAE #F3EE5F #5FF3A4
split-complementary
#5F64F3 #F3A45F #AEF35F
monochromatic
#0F15C9 #262DEF #5F64F3 #989BF7 #D1D2FC

Accessibility & contrast

On white

4.56
#5F64F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5F64F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F64F3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64F3#FFFFFF#000000##000000
##5F64F31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#006FF0
Tritanopia (blue-blind)
#0087A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f64f3;
/* rgb */ color: rgb(95, 100, 243);
/* oklch */ color: oklch(58.1% 0.210 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a90f8',
    500: '#5f64f3',
    950: '#000000',
  },
}
SCSS
$custom: #5f64f3;
$custom-light: #9a90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64f3",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 237.973,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.20993,
    "h": 276.2
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#5F64F3
secondary
#EFEDBF
accent
#DB03E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64F3

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

Preview Lab → · Contrast checker → · Palette generator →

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