#5F64E9#5F64E9

#5F64E9 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.197 H 276.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5F64E9
RGBrgb(95, 100, 233)
HSLhsl(238, 76%, 64%)
HSVhsv(238, 59%, 91%)
CMYKcmyk(59.2%, 57.1%, 0%, 8.6%)
CIE-LABlab(48.80, 36.65, -68.13)
CIE-LCHlch(48.80, 77.36, 298.28°)
OKLaboklab(57.32% 0.0226 -0.1957)
OKLCHoklch(57.32% 0.197 276.6)
XYZxyz(23.9797, 17.4286, 79.1754)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64E9 #E9E45F
analogous
#5FA9E9 #5F64E9 #9F5FE9
triadic
#5F64E9 #E95F64 #64E95F
tetradic
#5F64E9 #E95FA9 #E9E45F #5FE99F
square
#5F64E9 #E95FA9 #E9E45F #5FE99F
split-complementary
#5F64E9 #E99F5F #A9E95F
monochromatic
#191FB5 #2930E2 #5F64E9 #9598F0 #CBCCF8

Accessibility & contrast

On white

4.68
#5F64E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5F64E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64E9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64E9#FFFFFF#000000##FFFFFF
##5F64E91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f64e9;
/* rgb */ color: rgb(95, 100, 233);
/* oklch */ color: oklch(57.3% 0.197 276.6);
Tailwind
colors: {
  custom: {
    50: '#9990f1',
    500: '#5f64e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f64e9;
$custom-light: #9990f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64e9",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 237.826,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.19698,
    "h": 276.6
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#5F64E9
secondary
#EAE8BA
accent
#D10DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64E9

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

Preview Lab → · Contrast checker → · Palette generator →

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