#4D64A8#4D64A8

#4D64A8 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.7% C 0.111 H 268.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D64A8
RGBrgb(77, 100, 168)
HSLhsl(225, 37%, 48%)
HSVhsv(225, 54%, 66%)
CMYKcmyk(54.2%, 40.5%, 0%, 34.1%)
CIE-LABlab(43.53, 11.67, -39.24)
CIE-LCHlch(43.53, 40.94, 286.57°)
OKLaboklab(51.73% -0.0034 -0.1112)
OKLCHoklch(51.73% 0.111 268.3)
XYZxyz(14.6833, 13.5182, 38.8737)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64A8 #A8914D
analogous
#4D91A8 #4D64A8 #634DA8
triadic
#4D64A8 #A84D64 #64A84D
tetradic
#4D64A8 #A84D91 #A8914D #4DA863
square
#4D64A8 #A84D91 #A8914D #4DA863
split-complementary
#4D64A8 #A8634D #91A84D
monochromatic
#273254 #3A4B7E #4D64A8 #7386BF #9DABD2

Accessibility & contrast

On white

5.67
#4D64A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D64A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64A8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64A8#FFFFFF#000000##FFFFFF
##4D64A81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#1F737E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d64a8;
/* rgb */ color: rgb(77, 100, 168);
/* oklch */ color: oklch(51.7% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#858fc2',
    500: '#4d64a8',
    950: '#000000',
  },
}
SCSS
$custom: #4d64a8;
$custom-light: #858fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64a8",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 168
  },
  "hsl": {
    "h": 224.835,
    "s": 37.143,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.11126,
    "h": 268.3
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#4D64A8
secondary
#BFB492
accent
#B05BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D64A8

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

Preview Lab → · Contrast checker → · Palette generator →

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