#4D64C8#4D64C8

#4D64C8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.157 H 270.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D64C8
RGBrgb(77, 100, 200)
HSLhsl(229, 53%, 54%)
HSVhsv(229, 62%, 78%)
CMYKcmyk(61.5%, 50%, 0%, 21.6%)
CIE-LABlab(45.44, 22.50, -54.83)
CIE-LCHlch(45.44, 59.27, 292.31°)
OKLaboklab(53.81% 0.0016 -0.157)
OKLCHoklch(53.81% 0.157 270.6)
XYZxyz(18.0396, 14.8607, 56.5501)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64C8 #C8B14D
analogous
#4DA2C8 #4D64C8 #734DC8
triadic
#4D64C8 #C84D64 #64C84D
tetradic
#4D64C8 #C84DA2 #C8B14D #4DC873
square
#4D64C8 #C84DA2 #C8B14D #4DC873
split-complementary
#4D64C8 #C8734D #A2C84D
monochromatic
#243476 #3348A5 #4D64C8 #7C8DD6 #ABB5E5

Accessibility & contrast

On white

5.29
#4D64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64C8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64C8#FFFFFF#000000##FFFFFF
##4D64C81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#1066C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d64c8;
/* rgb */ color: rgb(77, 100, 200);
/* oklch */ color: oklch(53.8% 0.157 270.6);
Tailwind
colors: {
  custom: {
    50: '#8a8fd9',
    500: '#4d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d64c8;
$custom-light: #8a8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64c8",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 228.78,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.15699,
    "h": 270.6
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#4D64C8
secondary
#D2C99E
accent
#C14CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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