#4F64DC#4F64DC

#4F64DC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.184 H 271.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F64DC
RGBrgb(79, 100, 220)
HSLhsl(231, 67%, 59%)
HSVhsv(231, 64%, 86%)
CMYKcmyk(64.1%, 54.5%, 0%, 13.7%)
CIE-LABlab(46.90, 29.69, -63.91)
CIE-LCHlch(46.90, 70.47, 294.92°)
OKLaboklab(55.36% 0.0051 -0.1836)
OKLCHoklch(55.36% 0.184 271.6)
XYZxyz(20.6956, 15.9421, 69.6828)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64DC #DCC74F
analogous
#4FAADC #4F64DC #804FDC
triadic
#4F64DC #DC4F64 #64DC4F
tetradic
#4F64DC #DC4FAA #DCC74F #4FDC80
square
#4F64DC #DC4FAA #DCC74F #4FDC80
split-complementary
#4F64DC #DC804F #AADC4F
monochromatic
#1D2F93 #273FC6 #4F64DC #8291E6 #B5BEF0

Accessibility & contrast

On white

5.01
#4F64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4F64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64DC#FFFFFF#000000##FFFFFF
##4F64DC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f64dc;
/* rgb */ color: rgb(79, 100, 220);
/* oklch */ color: oklch(55.4% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#8f8fe8',
    500: '#4f64dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f64dc;
$custom-light: #8f8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64dc",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 231.064,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.18372,
    "h": 271.6
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#4F64DC
secondary
#DFD7A8
accent
#D03EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F64DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4F64DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva