#4F64DA#4F64DA

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

Color values

HEX#4F64DA
RGBrgb(79, 100, 218)
HSLhsl(231, 65%, 58%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(63.8%, 54.1%, 0%, 14.5%)
CIE-LABlab(46.76, 29.01, -63.00)
CIE-LCHlch(46.76, 69.35, 294.72°)
OKLaboklab(55.21% 0.005 -0.181)
OKLCHoklch(55.21% 0.181 271.6)
XYZxyz(20.4323, 15.8368, 68.2961)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64DA #DAC54F
analogous
#4FA9DA #4F64DA #7F4FDA
triadic
#4F64DA #DA4F64 #64DA4F
tetradic
#4F64DA #DA4FA9 #DAC54F #4FDA7F
square
#4F64DA #DA4FA9 #DAC54F #4FDA7F
split-complementary
#4F64DA #DA7F4F #A9DA4F
monochromatic
#1E3090 #2940C3 #4F64DA #8291E5 #B4BDEF

Accessibility & contrast

On white

5.04
#4F64DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4F64DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64DA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64DA#FFFFFF#000000##FFFFFF
##4F64DA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0875DE
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f64da;
/* rgb */ color: rgb(79, 100, 218);
/* oklch */ color: oklch(55.2% 0.181 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe6',
    500: '#4f64da',
    950: '#000000',
  },
}
SCSS
$custom: #4f64da;
$custom-light: #8e8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64da",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 230.935,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.18104,
    "h": 271.6
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#4F64DA
secondary
#DED6A7
accent
#CF40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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