#4D64DF#4D64DF

#4D64DF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.188 H 271.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D64DF
RGBrgb(77, 100, 223)
HSLhsl(231, 70%, 59%)
HSVhsv(231, 65%, 87%)
CMYKcmyk(65.5%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.00, 30.40, -65.45)
CIE-LCHlch(47.00, 72.17, 294.92°)
OKLaboklab(55.47% 0.0032 -0.1882)
OKLCHoklch(55.47% 0.188 271)
XYZxyz(20.9325, 16.0179, 71.7864)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64DF #DFC84D
analogous
#4DADDF #4D64DF #7F4DDF
triadic
#4D64DF #DF4D64 #64DF4D
tetradic
#4D64DF #DF4DAD #DFC84D #4DDF7F
square
#4D64DF #DF4DAD #DFC84D #4DDF7F
split-complementary
#4D64DF #DF7F4D #ADDF4D
monochromatic
#1B2F97 #243FCA #4D64DF #8191E8 #B5BEF2

Accessibility & contrast

On white

5.00
#4D64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64DF#FFFFFF#000000##FFFFFF
##4D64DF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d64df;
/* rgb */ color: rgb(77, 100, 223);
/* oklch */ color: oklch(55.5% 0.188 271.0);
Tailwind
colors: {
  custom: {
    50: '#8e8fea',
    500: '#4d64df',
    950: '#000000',
  },
}
SCSS
$custom: #4d64df;
$custom-light: #8e8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64df",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 230.548,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.18827,
    "h": 271
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#4D64DF
secondary
#E1D8A7
accent
#D03BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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