#5F64E7#5F64E7

#5F64E7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.194 H 276.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5F64E7
RGBrgb(95, 100, 231)
HSLhsl(238, 74%, 64%)
HSVhsv(238, 59%, 91%)
CMYKcmyk(58.9%, 56.7%, 0%, 9.4%)
CIE-LABlab(48.65, 36.00, -67.24)
CIE-LCHlch(48.65, 76.27, 298.17°)
OKLaboklab(57.18% 0.0226 -0.193)
OKLCHoklch(57.18% 0.194 276.7)
XYZxyz(23.6956, 17.3150, 77.6793)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64E7 #E7E25F
analogous
#5FA8E7 #5F64E7 #9E5FE7
triadic
#5F64E7 #E75F64 #64E75F
tetradic
#5F64E7 #E75FA8 #E7E25F #5FE79E
square
#5F64E7 #E75FA8 #E7E25F #5FE79E
split-complementary
#5F64E7 #E79E5F #A8E75F
monochromatic
#1B20B1 #2A30DF #5F64E7 #9498EF #C9CBF7

Accessibility & contrast

On white

4.70
#5F64E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5F64E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64E7#FFFFFF#000000##FFFFFF
##5F64E71.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f64e7;
/* rgb */ color: rgb(95, 100, 231);
/* oklch */ color: oklch(57.2% 0.194 276.7);
Tailwind
colors: {
  custom: {
    50: '#9890ef',
    500: '#5f64e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f64e7;
$custom-light: #9890ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64e7",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 237.794,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.19436,
    "h": 276.7
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#5F64E7
secondary
#E9E7B9
accent
#CF0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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