#4D64D9#4D64D9

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

Color values

HEX#4D64D9
RGBrgb(77, 100, 217)
HSLhsl(230, 65%, 58%)
HSVhsv(230, 65%, 85%)
CMYKcmyk(64.5%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.58, 28.34, -62.73)
CIE-LCHlch(46.58, 68.83, 294.32°)
OKLaboklab(55.03% 0.0029 -0.1802)
OKLCHoklch(55.03% 0.18 270.9)
XYZxyz(20.1379, 15.7001, 67.6014)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64D9 #D9C24D
analogous
#4DAAD9 #4D64D9 #7C4DD9
triadic
#4D64D9 #D94D64 #64D94D
tetradic
#4D64D9 #D94DAA #D9C24D #4DD97C
square
#4D64D9 #D94DAA #D9C24D #4DD97C
split-complementary
#4D64D9 #D97C4D #AAD94D
monochromatic
#1E308D #2942C0 #4D64D9 #7F90E4 #B2BCEF

Accessibility & contrast

On white

5.07
#4D64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D64D9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64D9#FFFFFF#000000##FFFFFF
##4D64D91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B75DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d64d9;
/* rgb */ color: rgb(77, 100, 217);
/* oklch */ color: oklch(55.0% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d64d9;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64d9",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 230.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.18024,
    "h": 270.9
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#4D64D9
secondary
#DDD4A5
accent
#CC40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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