#4D64B3#4D64B3

#4D64B3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.127 H 269.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4D64B3
RGBrgb(77, 100, 179)
HSLhsl(226, 40%, 50%)
HSVhsv(226, 57%, 70%)
CMYKcmyk(57%, 44.1%, 0%, 29.8%)
CIE-LABlab(44.15, 15.35, -44.71)
CIE-LCHlch(44.15, 47.27, 288.95°)
OKLaboklab(52.41% -0.0013 -0.1272)
OKLCHoklch(52.41% 0.127 269.4)
XYZxyz(15.7517, 13.9456, 44.5008)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64B3 #B39C4D
analogous
#4D97B3 #4D64B3 #694DB3
triadic
#4D64B3 #B34D64 #64B34D
tetradic
#4D64B3 #B34D97 #B39C4D #4DB369
square
#4D64B3 #B34D97 #B39C4D #4DB369
split-complementary
#4D64B3 #B3694D #97B34D
monochromatic
#28345E #3A4C89 #4D64B3 #7889C5 #A3AFD8

Accessibility & contrast

On white

5.54
#4D64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4D64B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64B3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64B3#FFFFFF#000000##FFFFFF
##4D64B31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#097583
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d64b3;
/* rgb */ color: rgb(77, 100, 179);
/* oklch */ color: oklch(52.4% 0.127 269.4);
Tailwind
colors: {
  custom: {
    50: '#878fca',
    500: '#4d64b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d64b3;
$custom-light: #878fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64b3",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 226.471,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.12724,
    "h": 269.4
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#4D64B3
secondary
#C5BA97
accent
#B558D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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