#4F64D8#4F64D8

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

Color values

HEX#4F64D8
RGBrgb(79, 100, 216)
HSLhsl(231, 64%, 58%)
HSVhsv(231, 63%, 85%)
CMYKcmyk(63.4%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.62, 28.32, -62.08)
CIE-LCHlch(46.62, 68.24, 294.52°)
OKLaboklab(55.07% 0.0049 -0.1783)
OKLCHoklch(55.07% 0.178 271.6)
XYZxyz(20.1721, 15.7327, 66.9261)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64D8 #D8C34F
analogous
#4FA8D8 #4F64D8 #7E4FD8
triadic
#4F64D8 #D84F64 #64D84F
tetradic
#4F64D8 #D84FA8 #D8C34F #4FD87E
square
#4F64D8 #D84FA8 #D8C34F #4FD87E
split-complementary
#4F64D8 #D87E4F #A8D84F
monochromatic
#1F308D #2A41BF #4F64D8 #8190E3 #B3BCEE

Accessibility & contrast

On white

5.06
#4F64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4F64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64D8#FFFFFF#000000##FFFFFF
##4F64D81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1075DC
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f64d8;
/* rgb */ color: rgb(79, 100, 216);
/* oklch */ color: oklch(55.1% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe5',
    500: '#4f64d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f64d8;
$custom-light: #8e8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64d8",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 230.803,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.17834,
    "h": 271.6
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#4F64D8
secondary
#DDD4A6
accent
#CD41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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