#4F64E5#4F64E5

#4F64E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.0% C 0.196 H 271.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F64E5
RGBrgb(79, 100, 229)
HSLhsl(232, 74%, 60%)
HSVhsv(232, 66%, 90%)
CMYKcmyk(65.5%, 56.3%, 0%, 10.2%)
CIE-LABlab(47.54, 32.76, -67.97)
CIE-LCHlch(47.54, 75.45, 295.73°)
OKLaboklab(56.04% 0.0054 -0.1956)
OKLCHoklch(56.04% 0.196 271.6)
XYZxyz(21.9197, 16.4318, 76.1300)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64E5 #E5D04F
analogous
#4FAFE5 #4F64E5 #854FE5
triadic
#4F64E5 #E54F64 #64E54F
tetradic
#4F64E5 #E54FAF #E5D04F #4FE585
square
#4F64E5 #E54FAF #E5D04F #4FE585
split-complementary
#4F64E5 #E5854F #AFE54F
monochromatic
#182BA2 #2039D7 #4F64E5 #8493ED #BAC2F5

Accessibility & contrast

On white

4.90
#4F64E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4F64E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64E5#FFFFFF#000000##FFFFFF
##4F64E51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f64e5;
/* rgb */ color: rgb(79, 100, 229);
/* oklch */ color: oklch(56.0% 0.196 271.6);
Tailwind
colors: {
  custom: {
    50: '#9090ee',
    500: '#4f64e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f64e5;
$custom-light: #9090ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64e5",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 231.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.19567,
    "h": 271.6
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#4F64E5
secondary
#E5DDAB
accent
#BA0FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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