#4B64D7#4B64D7

#4B64D7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.178 H 270.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4B64D7
RGBrgb(75, 100, 215)
HSLhsl(229, 64%, 57%)
HSVhsv(229, 65%, 84%)
CMYKcmyk(65.1%, 53.5%, 0%, 15.7%)
CIE-LABlab(46.33, 27.33, -61.99)
CIE-LCHlch(46.33, 67.75, 293.79°)
OKLaboklab(54.77% 0.0008 -0.1781)
OKLCHoklch(54.77% 0.178 270.3)
XYZxyz(19.7204, 15.5147, 66.2322)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64D7 #D7BE4B
analogous
#4BAAD7 #4B64D7 #784BD7
triadic
#4B64D7 #D74B64 #64D74B
tetradic
#4B64D7 #D74BAA #D7BE4B #4BD778
square
#4B64D7 #D74BAA #D7BE4B #4BD778
split-complementary
#4B64D7 #D7784B #AAD74B
monochromatic
#1E3289 #2A44BB #4B64D7 #7D8FE2 #AFBAED

Accessibility & contrast

On white

5.12
#4B64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4B64D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64D7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64D7#FFFFFF#000000##FFFFFF
##4B64D71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1174DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b64d7;
/* rgb */ color: rgb(75, 100, 215);
/* oklch */ color: oklch(54.8% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c8fe4',
    500: '#4b64d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b64d7;
$custom-light: #8c8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64d7",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 229.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.1781,
    "h": 270.3
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#4B64D7
secondary
#DBD1A2
accent
#C941E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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