#4F64D5#4F64D5

#4F64D5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.174 H 271.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F64D5
RGBrgb(79, 100, 213)
HSLhsl(231, 61%, 57%)
HSVhsv(231, 63%, 84%)
CMYKcmyk(62.9%, 53.1%, 0%, 16.5%)
CIE-LABlab(46.42, 27.30, -60.70)
CIE-LCHlch(46.42, 66.56, 294.22°)
OKLaboklab(54.85% 0.0047 -0.1742)
OKLCHoklch(54.85% 0.174 271.6)
XYZxyz(19.7878, 15.5790, 64.9021)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64D5 #D5C04F
analogous
#4FA7D5 #4F64D5 #7D4FD5
triadic
#4F64D5 #D54F64 #64D54F
tetradic
#4F64D5 #D54FA7 #D5C04F #4FD57D
square
#4F64D5 #D54FA7 #D5C04F #4FD57D
split-complementary
#4F64D5 #D57D4F #A7D54F
monochromatic
#213189 #2C43BA #4F64D5 #8090E1 #B2BBED

Accessibility & contrast

On white

5.10
#4F64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4F64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64D5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64D5#FFFFFF#000000##FFFFFF
##4F64D51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f64d5;
/* rgb */ color: rgb(79, 100, 213);
/* oklch */ color: oklch(54.8% 0.174 271.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fe3',
    500: '#4f64d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f64d5;
$custom-light: #8d8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64d5",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 230.597,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.17428,
    "h": 271.6
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#4F64D5
secondary
#DBD3A5
accent
#CB43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4F64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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