#4D64AF#4D64AF

#4D64AF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.2% C 0.121 H 269.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4D64AF
RGBrgb(77, 100, 175)
HSLhsl(226, 39%, 49%)
HSVhsv(226, 56%, 69%)
CMYKcmyk(56%, 42.9%, 0%, 31.4%)
CIE-LABlab(43.92, 14.01, -42.73)
CIE-LCHlch(43.92, 44.97, 288.15°)
OKLaboklab(52.16% -0.002 -0.1214)
OKLCHoklch(52.16% 0.121 269.1)
XYZxyz(15.3530, 13.7861, 42.4011)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64AF #AF984D
analogous
#4D95AF #4D64AF #674DAF
triadic
#4D64AF #AF4D64 #64AF4D
tetradic
#4D64AF #AF4D95 #AF984D #4DAF67
square
#4D64AF #AF4D95 #AF984D #4DAF67
split-complementary
#4D64AF #AF674D #95AF4D
monochromatic
#28335A #3A4C85 #4D64AF #7688C3 #A1ADD6

Accessibility & contrast

On white

5.59
#4D64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4D64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64AF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64AF#FFFFFF#000000##FFFFFF
##4D64AF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#147481
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d64af;
/* rgb */ color: rgb(77, 100, 175);
/* oklch */ color: oklch(52.2% 0.121 269.1);
Tailwind
colors: {
  custom: {
    50: '#868fc7',
    500: '#4d64af',
    950: '#000000',
  },
}
SCSS
$custom: #4d64af;
$custom-light: #868fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64af",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 225.918,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.12146,
    "h": 269.1
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#4D64AF
secondary
#C3B895
accent
#B359CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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