#5F64EA#5F64EA

#5F64EA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.198 H 276.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F64EA
RGBrgb(95, 100, 234)
HSLhsl(238, 77%, 65%)
HSVhsv(238, 59%, 92%)
CMYKcmyk(59.4%, 57.3%, 0%, 8.2%)
CIE-LABlab(48.87, 36.97, -68.58)
CIE-LCHlch(48.87, 77.91, 298.33°)
OKLaboklab(57.4% 0.0226 -0.197)
OKLCHoklch(57.4% 0.198 276.6)
XYZxyz(24.1230, 17.4859, 79.9299)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64EA #EAE55F
analogous
#5FA9EA #5F64EA #A05FEA
triadic
#5F64EA #EA5F64 #64EA5F
tetradic
#5F64EA #EA5FA9 #EAE55F #5FEAA0
square
#5F64EA #EA5FA9 #EAE55F #5FEAA0
split-complementary
#5F64EA #EAA05F #A9EA5F
monochromatic
#181EB7 #2930E3 #5F64EA #9598F1 #CBCDF8

Accessibility & contrast

On white

4.67
#5F64EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5F64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64EA#FFFFFF#000000##FFFFFF
##5F64EA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f64ea;
/* rgb */ color: rgb(95, 100, 234);
/* oklch */ color: oklch(57.4% 0.198 276.6);
Tailwind
colors: {
  custom: {
    50: '#9990f2',
    500: '#5f64ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f64ea;
$custom-light: #9990f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64ea",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 237.842,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.19829,
    "h": 276.6
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#5F64EA
secondary
#EAE9BA
accent
#D20CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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