#4F64CF#4F64CF

#4F64CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.166 H 271.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F64CF
RGBrgb(79, 100, 207)
HSLhsl(230, 57%, 56%)
HSVhsv(230, 62%, 81%)
CMYKcmyk(61.8%, 51.7%, 0%, 18.8%)
CIE-LABlab(46.02, 25.25, -57.92)
CIE-LCHlch(46.02, 63.19, 293.56°)
OKLaboklab(54.42% 0.0043 -0.166)
OKLCHoklch(54.42% 0.166 271.5)
XYZxyz(19.0403, 15.2800, 60.9653)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64CF #CFBA4F
analogous
#4FA4CF #4F64CF #7A4FCF
triadic
#4F64CF #CF4F64 #64CF4F
tetradic
#4F64CF #CF4FA4 #CFBA4F #4FCF7A
square
#4F64CF #CF4FA4 #CFBA4F #4FCF7A
split-complementary
#4F64CF #CF7A4F #A4CF4F
monochromatic
#233281 #3045B1 #4F64CF #7F8EDC #AFB9E9

Accessibility & contrast

On white

5.18
#4F64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4F64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64CF#FFFFFF#000000##FFFFFF
##4F64CF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f64cf;
/* rgb */ color: rgb(79, 100, 207);
/* oklch */ color: oklch(54.4% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c8fde',
    500: '#4f64cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f64cf;
$custom-light: #8c8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64cf",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 230.156,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.16609,
    "h": 271.5
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#4F64CF
secondary
#D7CFA2
accent
#C747E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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