#4B64D4#4B64D4

#4B64D4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.174 H 270.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4B64D4
RGBrgb(75, 100, 212)
HSLhsl(229, 61%, 56%)
HSVhsv(229, 65%, 83%)
CMYKcmyk(64.6%, 52.8%, 0%, 16.9%)
CIE-LABlab(46.13, 26.30, -60.61)
CIE-LCHlch(46.13, 66.07, 293.45°)
OKLaboklab(54.55% 0.0006 -0.174)
OKLCHoklch(54.55% 0.174 270.2)
XYZxyz(19.3385, 15.3619, 64.2206)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64D4 #D4BB4B
analogous
#4BA9D4 #4B64D4 #774BD4
triadic
#4B64D4 #D44B64 #64D44B
tetradic
#4B64D4 #D44BA9 #D4BB4B #4BD477
square
#4B64D4 #D44BA9 #D4BB4B #4BD477
split-complementary
#4B64D4 #D4774B #A9D44B
monochromatic
#203285 #2C45B6 #4B64D4 #7C8FE0 #AEB9EC

Accessibility & contrast

On white

5.16
#4B64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4B64D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64D4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64D4#FFFFFF#000000##FFFFFF
##4B64D41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1974D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b64d4;
/* rgb */ color: rgb(75, 100, 212);
/* oklch */ color: oklch(54.5% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#8b8fe2',
    500: '#4b64d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b64d4;
$custom-light: #8b8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64d4",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 229.051,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.17404,
    "h": 270.2
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#4B64D4
secondary
#DACFA1
accent
#C743E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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