#5F64FA#5F64FA

#5F64FA is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.6% C 0.219 H 275.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F64FA
RGBrgb(95, 100, 250)
HSLhsl(238, 94%, 68%)
HSVhsv(238, 62%, 98%)
CMYKcmyk(62%, 60%, 0%, 2%)
CIE-LABlab(50.03, 42.12, -75.63)
CIE-LCHlch(50.03, 86.56, 299.12°)
OKLaboklab(58.63% 0.0223 -0.2177)
OKLCHoklch(58.63% 0.219 275.9)
XYZxyz(26.5262, 18.4472, 92.5867)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64FA #FAF55F
analogous
#5FB1FA #5F64FA #A85FFA
triadic
#5F64FA #FA5F64 #64FA5F
tetradic
#5F64FA #FA5FB1 #FAF55F #5FFAA8
square
#5F64FA #FA5FB1 #FAF55F #5FFAA8
split-complementary
#5F64FA #FAA85F #B1FA5F
monochromatic
#070DD8 #242BF8 #5F64FA #9A9DFC #D6D7FE

Accessibility & contrast

On white

4.48
#5F64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5F64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F64FA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64FA#FFFFFF#000000##000000
##5F64FA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#0089A6
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f64fa;
/* rgb */ color: rgb(95, 100, 250);
/* oklch */ color: oklch(58.6% 0.219 275.9);
Tailwind
colors: {
  custom: {
    50: '#9b90fd',
    500: '#5f64fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f64fa;
$custom-light: #9b90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64fa",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 238.065,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.21885,
    "h": 275.9
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#5F64FA
secondary
#F2F1C2
accent
#DE00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5F64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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