#4F64DF#4F64DF

#4F64DF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.188 H 271.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F64DF
RGBrgb(79, 100, 223)
HSLhsl(231, 69%, 59%)
HSVhsv(231, 65%, 87%)
CMYKcmyk(64.6%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.11, 30.71, -65.27)
CIE-LCHlch(47.11, 72.13, 295.20°)
OKLaboklab(55.59% 0.0052 -0.1876)
OKLCHoklch(55.59% 0.188 271.6)
XYZxyz(21.0964, 16.1024, 71.7941)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64DF #DFCA4F
analogous
#4FACDF #4F64DF #824FDF
triadic
#4F64DF #DF4F64 #64DF4F
tetradic
#4F64DF #DF4FAC #DFCA4F #4FDF82
square
#4F64DF #DF4FAC #DFCA4F #4FDF82
split-complementary
#4F64DF #DF824F #ACDF4F
monochromatic
#1C2E98 #253DCC #4F64DF #8392E8 #B7BFF2

Accessibility & contrast

On white

4.98
#4F64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4F64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64DF#FFFFFF#000000##FFFFFF
##4F64DF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f64df;
/* rgb */ color: rgb(79, 100, 223);
/* oklch */ color: oklch(55.6% 0.188 271.6);
Tailwind
colors: {
  custom: {
    50: '#8f8fea',
    500: '#4f64df',
    950: '#000000',
  },
}
SCSS
$custom: #4f64df;
$custom-light: #8f8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64df",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 231.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.18772,
    "h": 271.6
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#4F64DF
secondary
#E1D9A9
accent
#D23CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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