#4F64D7#4F64D7

#4F64D7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.177 H 271.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F64D7
RGBrgb(79, 100, 215)
HSLhsl(231, 63%, 58%)
HSVhsv(231, 63%, 84%)
CMYKcmyk(63.3%, 53.5%, 0%, 15.7%)
CIE-LABlab(46.55, 27.98, -61.62)
CIE-LCHlch(46.55, 67.68, 294.42°)
OKLaboklab(54.99% 0.0048 -0.1769)
OKLCHoklch(54.99% 0.177 271.6)
XYZxyz(20.0433, 15.6812, 66.2473)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64D7 #D7C24F
analogous
#4FA8D7 #4F64D7 #7E4FD7
triadic
#4F64D7 #D74F64 #64D74F
tetradic
#4F64D7 #D74FA8 #D7C24F #4FD77E
square
#4F64D7 #D74FA8 #D7C24F #4FD77E
split-complementary
#4F64D7 #D77E4F #A8D74F
monochromatic
#20308C #2B42BE #4F64D7 #8190E2 #B3BCEE

Accessibility & contrast

On white

5.08
#4F64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4F64D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64D7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64D7#FFFFFF#000000##FFFFFF
##4F64D71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1475DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f64d7;
/* rgb */ color: rgb(79, 100, 215);
/* oklch */ color: oklch(55.0% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe4',
    500: '#4f64d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f64d7;
$custom-light: #8e8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64d7",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 230.735,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.17699,
    "h": 271.6
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#4F64D7
secondary
#DCD4A6
accent
#CD42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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