#5F64DB#5F64DB

#5F64DB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.178 H 277.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F64DB
RGBrgb(95, 100, 219)
HSLhsl(238, 63%, 62%)
HSVhsv(238, 57%, 86%)
CMYKcmyk(56.6%, 54.3%, 0%, 14.1%)
CIE-LABlab(47.83, 32.14, -61.79)
CIE-LCHlch(47.83, 69.65, 297.48°)
OKLaboklab(56.3% 0.0223 -0.177)
OKLCHoklch(56.3% 0.178 277.2)
XYZxyz(22.0586, 16.6602, 69.0574)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64DB #DBD65F
analogous
#5FA2DB #5F64DB #985FDB
triadic
#5F64DB #DB5F64 #64DB5F
tetradic
#5F64DB #DB5FA2 #DBD65F #5FDB98
square
#5F64DB #DB5FA2 #DBD65F #5FDB98
split-complementary
#5F64DB #DB985F #A2DB5F
monochromatic
#23289C #2E35CE #5F64DB #9194E6 #C3C5F1

Accessibility & contrast

On white

4.85
#5F64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5F64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64DB#FFFFFF#000000##FFFFFF
##5F64DB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1377DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#158096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f64db;
/* rgb */ color: rgb(95, 100, 219);
/* oklch */ color: oklch(56.3% 0.178 277.2);
Tailwind
colors: {
  custom: {
    50: '#9690e7',
    500: '#5f64db',
    950: '#000000',
  },
}
SCSS
$custom: #5f64db;
$custom-light: #9690e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64db",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 237.581,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.17842,
    "h": 277.2
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#5F64DB
secondary
#E2E0B4
accent
#C41ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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