#4F64D9#4F64D9

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

Color values

HEX#4F64D9
RGBrgb(79, 100, 217)
HSLhsl(231, 64%, 58%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(63.6%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.69, 28.67, -62.54)
CIE-LCHlch(46.69, 68.80, 294.63°)
OKLaboklab(55.14% 0.005 -0.1796)
OKLCHoklch(55.14% 0.18 271.6)
XYZxyz(20.3018, 15.7846, 67.6090)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64D9 #D9C44F
analogous
#4FA9D9 #4F64D9 #7F4FD9
triadic
#4F64D9 #D94F64 #64D94F
tetradic
#4F64D9 #D94FA9 #D9C44F #4FD97F
square
#4F64D9 #D94FA9 #D9C44F #4FD97F
split-complementary
#4F64D9 #D97F4F #A9D94F
monochromatic
#1F308F #2A41C1 #4F64D9 #8190E4 #B4BDEF

Accessibility & contrast

On white

5.05
#4F64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4F64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64D9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64D9#FFFFFF#000000##FFFFFF
##4F64D91.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f64d9;
/* rgb */ color: rgb(79, 100, 217);
/* oklch */ color: oklch(55.1% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe5',
    500: '#4f64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f64d9;
$custom-light: #8e8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64d9",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 230.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.17969,
    "h": 271.6
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#4F64D9
secondary
#DDD5A6
accent
#CE40E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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