#5F64EE#5F64EE

#5F64EE is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.7% C 0.203 H 276.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5F64EE
RGBrgb(95, 100, 238)
HSLhsl(238, 81%, 65%)
HSVhsv(238, 60%, 93%)
CMYKcmyk(60.1%, 58%, 0%, 6.7%)
CIE-LABlab(49.15, 38.26, -70.36)
CIE-LCHlch(49.15, 80.09, 298.54°)
OKLaboklab(57.7% 0.0226 -0.2022)
OKLCHoklch(57.7% 0.203 276.4)
XYZxyz(24.7041, 17.7184, 82.9905)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64EE #EEE95F
analogous
#5FABEE #5F64EE #A15FEE
triadic
#5F64EE #EE5F64 #64EE5F
tetradic
#5F64EE #EE5FAB #EEE95F #5FEEA1
square
#5F64EE #EE5FAB #EEE95F #5FEEA1
split-complementary
#5F64EE #EEA15F #ABEE5F
monochromatic
#141ABE #282EE8 #5F64EE #969AF4 #CECFFA

Accessibility & contrast

On white

4.62
#5F64EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5F64EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64EE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64EE#FFFFFF#000000##FFFFFF
##5F64EE1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f64ee;
/* rgb */ color: rgb(95, 100, 238);
/* oklch */ color: oklch(57.7% 0.203 276.4);
Tailwind
colors: {
  custom: {
    50: '#9990f4',
    500: '#5f64ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f64ee;
$custom-light: #9990f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64ee",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 237.902,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.20349,
    "h": 276.4
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#5F64EE
secondary
#ECEBBC
accent
#D608DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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