#4D64CB#4D64CB

#4D64CB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.161 H 270.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D64CB
RGBrgb(77, 100, 203)
HSLhsl(229, 55%, 55%)
HSVhsv(229, 62%, 80%)
CMYKcmyk(62.1%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.64, 23.53, -56.24)
CIE-LCHlch(45.64, 60.96, 292.70°)
OKLaboklab(54.02% 0.0019 -0.1611)
OKLCHoklch(54.02% 0.161 270.7)
XYZxyz(18.3936, 15.0024, 58.4148)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64CB #CBB44D
analogous
#4DA3CB #4D64CB #754DCB
triadic
#4D64CB #CB4D64 #64CB4D
tetradic
#4D64CB #CB4DA3 #CBB44D #4DCB75
square
#4D64CB #CB4DA3 #CBB44D #4DCB75
split-complementary
#4D64CB #CB754D #A3CB4D
monochromatic
#24337A #3147A9 #4D64CB #7C8DD9 #ACB6E7

Accessibility & contrast

On white

5.25
#4D64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4D64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64CB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64CB#FFFFFF#000000##FFFFFF
##4D64CB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#0367C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d64cb;
/* rgb */ color: rgb(77, 100, 203);
/* oklch */ color: oklch(54.0% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#8b8fdb',
    500: '#4d64cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d64cb;
$custom-light: #8b8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64cb",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 229.048,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.16114,
    "h": 270.7
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#4D64CB
secondary
#D4CB9F
accent
#C34ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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